summaryrefslogtreecommitdiff
path: root/x11-apps/xrestop/files/xrestop-0.4-tinfo.patch
diff options
context:
space:
mode:
Diffstat (limited to 'x11-apps/xrestop/files/xrestop-0.4-tinfo.patch')
-rw-r--r--x11-apps/xrestop/files/xrestop-0.4-tinfo.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/x11-apps/xrestop/files/xrestop-0.4-tinfo.patch b/x11-apps/xrestop/files/xrestop-0.4-tinfo.patch
new file mode 100644
index 000000000000..ef2de121e839
--- /dev/null
+++ b/x11-apps/xrestop/files/xrestop-0.4-tinfo.patch
@@ -0,0 +1,10 @@
+--- a/configure.ac
++++ b/configure.ac
+@@ -65,6 +65,7 @@
+
+ # check for ncurses, fall back to curses
+ AC_CHECK_LIB([ncurses], [initscr],,AC_CHECK_LIB([curses], [initscr]))
++AC_SEARCH_LIBS([stdscr], [tinfo])
+
+ if test "x$GCC" = "xyes"; then
+ GCC_WARNINGS="-Wall -fno-strict-aliasing"