Gentoo Archives: gentoo-commits

From: Ionen Wolkens <ionen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: games-kids/tuxtype/files/, games-kids/tuxtype/
Date: Thu, 10 Jun 2021 13:22:38
Message-Id: 1623331288.c3f197ba78bebdc6c23482fa1e227e73d5f576c5.ionen@gentoo
1 commit: c3f197ba78bebdc6c23482fa1e227e73d5f576c5
2 Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jun 10 13:20:27 2021 +0000
4 Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
5 CommitDate: Thu Jun 10 13:21:28 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c3f197ba
7
8 games-kids/tuxtype: fix build without t4k-common
9
10 Closes: https://bugs.gentoo.org/795222
11 Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
12
13 .../tuxtype/files/tuxtype-1.8.3-t4kcommon.patch | 20 ++++++++++++++++++++
14 games-kids/tuxtype/tuxtype-1.8.3-r2.ebuild | 1 +
15 2 files changed, 21 insertions(+)
16
17 diff --git a/games-kids/tuxtype/files/tuxtype-1.8.3-t4kcommon.patch b/games-kids/tuxtype/files/tuxtype-1.8.3-t4kcommon.patch
18 new file mode 100644
19 index 00000000000..14ded561904
20 --- /dev/null
21 +++ b/games-kids/tuxtype/files/tuxtype-1.8.3-t4kcommon.patch
22 @@ -0,0 +1,20 @@
23 +This was added ahead of time (for next version), currently unused.
24 +--- a/configure.ac
25 ++++ b/configure.ac
26 +@@ -249,16 +249,4 @@
27 + dnl libt4kcommon is now required: --------------------------------------------
28 +
29 +-PKG_CHECK_MODULES([T4K_COMMON],
30 +- [t4k_common],
31 +- [],
32 +- [AC_MSG_NOTICE([t4k_common not located by pkg-config, checking with AC CHECK LIB:])
33 +- AC_CHECK_LIB([t4k_common],
34 +- [InitT4KCommon],
35 +- [],
36 +- [AC_MSG_ERROR([libt4k_common is required: git://git.debian.org/tux4kids/t4kcommon.git])])])
37 +-
38 +-AC_DEFINE([HAVE_LIBT4K_COMMON],[1],[Define to 1 if you have the `t4k_common` library])
39 +-CFLAGS="$CFLAGS $T4K_COMMON_CFLAGS"
40 +-LIBS="$LIBS $T4K_COMMON_LIBS"
41 +
42 +
43
44 diff --git a/games-kids/tuxtype/tuxtype-1.8.3-r2.ebuild b/games-kids/tuxtype/tuxtype-1.8.3-r2.ebuild
45 index 55d2d6b8927..5c8cb51013e 100644
46 --- a/games-kids/tuxtype/tuxtype-1.8.3-r2.ebuild
47 +++ b/games-kids/tuxtype/tuxtype-1.8.3-r2.ebuild
48 @@ -26,6 +26,7 @@ BDEPEND="virtual/pkgconfig"
49 PATCHES=(
50 "${FILESDIR}"/${P}-games-group.patch
51 "${FILESDIR}"/${P}-missing-text.patch
52 + "${FILESDIR}"/${P}-t4kcommon.patch
53 )
54
55 src_prepare() {