Module: check_mk
Branch: master
Commit: 629e1dec82e041b49dbc12de78f77406e457075d
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=629e1dec82e041…
Author: Alex Zurhake <az(a)mathias-kettner.de>
Date: Tue Jan 15 09:28:46 2019 +0100
Fix compiler error in Centos 6, that was caused by insufficient curses detection mechanism
in net-snmp, as suggested by @SP
Change-Id: Ic5b19de0fc74d7f2b995c9074aea0e8500ebb794
---
omd/packages/net-snmp/patches/0016-fix-curses-detection.dif | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/omd/packages/net-snmp/patches/0016-fix-curses-detection.dif
b/omd/packages/net-snmp/patches/0016-fix-curses-detection.dif
new file mode 100644
index 0000000..3179280
--- /dev/null
+++ b/omd/packages/net-snmp/patches/0016-fix-curses-detection.dif
@@ -0,0 +1,10 @@
+--- a/configure.d/config_os_libs2
++++ b/configure.d/config_os_libs2-patched
+@@ -561,4 +561,7 @@
+
+ AC_CHECK_HEADERS([curses.h])
+ NETSNMP_SEARCH_LIBS([endwin], [curses ncurses],,,,[LIBCURSES])
++if test -n "$LIBCURSES"; then
++ NETSNMP_SEARCH_LIBS([halfdelay], [tinfo], [LIBCURSES="$LIBCURSES
$LIBTINFO"],,,[LIBTINFO])
++fi
+ AC_SUBST([LIBCURSES])