summaryrefslogtreecommitdiff
path: root/games-misc/robotfindskitten/files/robotfindskitten-2.7182818.701-tinfo.patch
diff options
context:
space:
mode:
Diffstat (limited to 'games-misc/robotfindskitten/files/robotfindskitten-2.7182818.701-tinfo.patch')
-rw-r--r--games-misc/robotfindskitten/files/robotfindskitten-2.7182818.701-tinfo.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/games-misc/robotfindskitten/files/robotfindskitten-2.7182818.701-tinfo.patch b/games-misc/robotfindskitten/files/robotfindskitten-2.7182818.701-tinfo.patch
new file mode 100644
index 000000000000..4ceef27ac948
--- /dev/null
+++ b/games-misc/robotfindskitten/files/robotfindskitten-2.7182818.701-tinfo.patch
@@ -0,0 +1,20 @@
+https://bugs.gentoo.org/690114
+
+--- robotfindskitten-2.7182818.701/configure.in
++++ robotfindskitten-2.7182818.701/configure.in
+@@ -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)