gentoo-ebuilds/games-misc/robotfindskitten/files/robotfindskitten-2.8284271.702-tinfo.patch
Michael Mair-Keimberger 2a068c70a0
games-misc/robotfindskitten: version bump to 2.8284271.702, EAPI8 bump
Signed-off-by: Michael Mair-Keimberger <mm1ke@gentoo.org>
Part-of: https://github.com/gentoo/gentoo/pull/42948
Closes: https://github.com/gentoo/gentoo/pull/42948
Signed-off-by: Michael Mair-Keimberger <mm1ke@gentoo.org>
2025-07-10 20:38:33 +02:00

20 lines
417 B
Diff

https://bugs.gentoo.org/690114
--- a/configure.ac
+++ b/configure.ac
@@ -11,9 +11,14 @@
AC_PROG_CC
AM_PROG_LIBTOOL
AC_PROG_INSTALL
+PKG_PROG_PKG_CONFIG
dnl Checks for libraries.
-AC_CHECK_LIB(ncurses, initscr, ,curses)
+PKG_CHECK_MODULES(NCURSES, ncurses, [
+ LIBS="$LIBS $NCURSES_LIBS"
+ ],[
+ AC_MSG_ERROR([Cannot find ncurses lib])
+ ])
dnl Checks for header files.
AC_CHECK_HEADERS(signal.h)