summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2021-06-10 09:20:27 -0400
committerIonen Wolkens <ionen@gentoo.org>2021-06-10 09:21:28 -0400
commitc3f197ba78bebdc6c23482fa1e227e73d5f576c5 (patch)
tree8ca19970c6e9623fc76a2830c23201ae3722d3e8 /games-kids/tuxtype
parentsys-kernel/gentoo-sources: Remove due to broken gentoo config patch (diff)
downloadgentoo-c3f197ba78bebdc6c23482fa1e227e73d5f576c5.tar.gz
gentoo-c3f197ba78bebdc6c23482fa1e227e73d5f576c5.tar.bz2
gentoo-c3f197ba78bebdc6c23482fa1e227e73d5f576c5.zip
games-kids/tuxtype: fix build without t4k-common
Closes: https://bugs.gentoo.org/795222 Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'games-kids/tuxtype')
-rw-r--r--games-kids/tuxtype/files/tuxtype-1.8.3-t4kcommon.patch20
-rw-r--r--games-kids/tuxtype/tuxtype-1.8.3-r2.ebuild1
2 files changed, 21 insertions, 0 deletions
diff --git a/games-kids/tuxtype/files/tuxtype-1.8.3-t4kcommon.patch b/games-kids/tuxtype/files/tuxtype-1.8.3-t4kcommon.patch
new file mode 100644
index 000000000000..14ded5619041
--- /dev/null
+++ b/games-kids/tuxtype/files/tuxtype-1.8.3-t4kcommon.patch
@@ -0,0 +1,20 @@
+This was added ahead of time (for next version), currently unused.
+--- a/configure.ac
++++ b/configure.ac
+@@ -249,16 +249,4 @@
+ dnl libt4kcommon is now required: --------------------------------------------
+
+-PKG_CHECK_MODULES([T4K_COMMON],
+- [t4k_common],
+- [],
+- [AC_MSG_NOTICE([t4k_common not located by pkg-config, checking with AC CHECK LIB:])
+- AC_CHECK_LIB([t4k_common],
+- [InitT4KCommon],
+- [],
+- [AC_MSG_ERROR([libt4k_common is required: git://git.debian.org/tux4kids/t4kcommon.git])])])
+-
+-AC_DEFINE([HAVE_LIBT4K_COMMON],[1],[Define to 1 if you have the `t4k_common` library])
+-CFLAGS="$CFLAGS $T4K_COMMON_CFLAGS"
+-LIBS="$LIBS $T4K_COMMON_LIBS"
+
+
diff --git a/games-kids/tuxtype/tuxtype-1.8.3-r2.ebuild b/games-kids/tuxtype/tuxtype-1.8.3-r2.ebuild
index 55d2d6b89275..5c8cb51013e7 100644
--- a/games-kids/tuxtype/tuxtype-1.8.3-r2.ebuild
+++ b/games-kids/tuxtype/tuxtype-1.8.3-r2.ebuild
@@ -26,6 +26,7 @@ BDEPEND="virtual/pkgconfig"
PATCHES=(
"${FILESDIR}"/${P}-games-group.patch
"${FILESDIR}"/${P}-missing-text.patch
+ "${FILESDIR}"/${P}-t4kcommon.patch
)
src_prepare() {