SwordArMor-gentoo-overlay/net-analyzer/net-snmp/files/net-snmp-5.8-tinfo.patch
Alarig Le Lay 4d62ffcc8e
net-analyzer/net-snmp: New package
Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Alarig Le Lay <alarig@swordarmor.fr
2020-09-22 12:54:44 +02:00

11 lines
340 B
Diff

--- a/configure.d/config_os_libs2
+++ b/configure.d/config_os_libs2
@@ -611,6 +611,7 @@
AC_CHECK_HEADERS([curses.h])
AC_CHECK_HEADERS([ncurses/curses.h])
NETSNMP_SEARCH_LIBS([endwin], [curses ncurses],,,,[LIBCURSES])
+NETSNMP_SEARCH_LIBS([cbreak], [tinfo],[LIBCURSES="$LIBCURSES -ltinfo"],,,)
AC_SUBST([LIBCURSES])
# libm for ceil