Skip to content

Commit

Permalink
games-kids/tuxtype: fix build without t4k-common
Browse files Browse the repository at this point in the history
Closes: https://bugs.gentoo.org/795222
Signed-off-by: Ionen Wolkens <[email protected]>
  • Loading branch information
ionenwks committed Jun 10, 2021
1 parent 90a117a commit c3f197b
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
20 changes: 20 additions & 0 deletions games-kids/tuxtype/files/tuxtype-1.8.3-t4kcommon.patch
Original file line number Diff line number Diff line change
@@ -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"


1 change: 1 addition & 0 deletions games-kids/tuxtype/tuxtype-1.8.3-r2.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ BDEPEND="virtual/pkgconfig"
PATCHES=(
"${FILESDIR}"/${P}-games-group.patch
"${FILESDIR}"/${P}-missing-text.patch
"${FILESDIR}"/${P}-t4kcommon.patch
)

src_prepare() {
Expand Down

0 comments on commit c3f197b

Please sign in to comment.