summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-fs/iprutils/files/iprutils-2.4.8-tinfo.patch')
-rw-r--r--sys-fs/iprutils/files/iprutils-2.4.8-tinfo.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/sys-fs/iprutils/files/iprutils-2.4.8-tinfo.patch b/sys-fs/iprutils/files/iprutils-2.4.8-tinfo.patch
new file mode 100644
index 000000000000..29930b76387e
--- /dev/null
+++ b/sys-fs/iprutils/files/iprutils-2.4.8-tinfo.patch
@@ -0,0 +1,14 @@
+--- a/configure.ac
++++ b/configure.ac
+@@ -51,7 +51,10 @@
+
+ save_LIBS="$LIBS"
+ AC_CHECK_LIB([ncurses], [curses_version], [],
+- [AC_ERROR("libncurses not found.")])
++ AC_CHECK_LIB([tinfo], [curses_version], [],
++ [AC_ERROR("libncurses not found.")]))
++AC_CHECK_LIB([ncurses], [wnoutrefresh], [],
++ [AC_ERROR("libncurses not found.")])
+ AC_CHECK_LIB([form], [free_form], [], [AC_ERROR("libform not found.")])
+ AC_CHECK_LIB([m], [matherr], [], [AC_ERROR("libm not found.")])
+ AC_CHECK_LIB([menu], [new_menu], [], [AC_ERROR("libmenu not found.")])