summaryrefslogtreecommitdiff
path: root/net-proxy/sqtop/files/sqtop-2015.02.08-ncurses.patch
diff options
context:
space:
mode:
Diffstat (limited to 'net-proxy/sqtop/files/sqtop-2015.02.08-ncurses.patch')
-rw-r--r--net-proxy/sqtop/files/sqtop-2015.02.08-ncurses.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/net-proxy/sqtop/files/sqtop-2015.02.08-ncurses.patch b/net-proxy/sqtop/files/sqtop-2015.02.08-ncurses.patch
new file mode 100644
index 000000000000..c12953b75b75
--- /dev/null
+++ b/net-proxy/sqtop/files/sqtop-2015.02.08-ncurses.patch
@@ -0,0 +1,15 @@
+diff --git a/configure.ac b/configure.ac
+index 9306ef8..829d793 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -60,7 +60,9 @@ if test x$enable_ui = xtrue; then
+ ], [AC_MSG_ERROR([Unable to find the ncurses headers]); break;])
+ ])
+ AC_CHECK_LIB([ncurses], [initscr], [], [AC_MSG_ERROR([Unable to find the ncurses library]); break;])
+- AC_CHECK_FUNCS([clear refresh endwin mvaddstr mvchgat mvhline getch beep initscr nonl keypad noecho cbreak halfdelay addnstr], [], [AC_MSG_ERROR([Unable to find some ncurses functions]); break;])
++ AC_CHECK_FUNCS([clear refresh endwin mvaddstr mvchgat mvhline getch beep initscr nonl], [], [AC_MSG_ERROR([Unable to find some ncurses functions]); break;])
++ AC_CHECK_LIB([tinfo], [cur_term], [], [AC_MSG_ERROR([Unable to find the tinfo (ncurses) library]); break;])
++ AC_CHECK_FUNCS([keypad noecho cbreak halfdelay addnstr], [], [AC_MSG_ERROR([Unable to find some tinfo (ncurses) functions]); break;])
+ test_pthread=yes
+ fi
+