summaryrefslogtreecommitdiff
path: root/sys-process/tiptop/files/tiptop-2.3.1-tinfo.patch
diff options
context:
space:
mode:
Diffstat (limited to 'sys-process/tiptop/files/tiptop-2.3.1-tinfo.patch')
-rw-r--r--sys-process/tiptop/files/tiptop-2.3.1-tinfo.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/sys-process/tiptop/files/tiptop-2.3.1-tinfo.patch b/sys-process/tiptop/files/tiptop-2.3.1-tinfo.patch
new file mode 100644
index 000000000000..0f6c3c740a1e
--- /dev/null
+++ b/sys-process/tiptop/files/tiptop-2.3.1-tinfo.patch
@@ -0,0 +1,12 @@
+https://bugs.gentoo.org/618124
+
+--- tiptop-2.3.1/configure.ac
++++ tiptop-2.3.1/configure.ac
+@@ -24,6 +24,7 @@
+ AC_DEFINE([HAVE_LIBCURSES], [1], [Define to 1 if you have the `curses' library (-lcurses).])
+ LIBS="-lcurses $LIBS"],
+ [have_curses=no])
++AC_CHECK_LIB([tinfo], [keypad], LIBS="-ltinfo $LIBS")
+ fi
+
+ if test ! x$disable_libxml2 = xno; then # check only if not disabled