summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2016-02-24 07:00:28 +0100
committerJeroen Roovers <jer@gentoo.org>2016-02-24 07:00:28 +0100
commit636198c593fc9532c6a4ac3bbdcc66cb65625988 (patch)
tree41edb670ac388227fda2157dff12322dee164265 /net-analyzer/cacti-spine/files/cacti-spine-0.8.8g-net-snmp.patch
parentnet-analyzer/cacti: Version bump. (diff)
downloadgentoo-636198c593fc9532c6a4ac3bbdcc66cb65625988.tar.gz
gentoo-636198c593fc9532c6a4ac3bbdcc66cb65625988.tar.bz2
gentoo-636198c593fc9532c6a4ac3bbdcc66cb65625988.zip
net-analyzer/cacti-spine: Version bump.
Package-Manager: portage-2.2.27
Diffstat (limited to 'net-analyzer/cacti-spine/files/cacti-spine-0.8.8g-net-snmp.patch')
-rw-r--r--net-analyzer/cacti-spine/files/cacti-spine-0.8.8g-net-snmp.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/net-analyzer/cacti-spine/files/cacti-spine-0.8.8g-net-snmp.patch b/net-analyzer/cacti-spine/files/cacti-spine-0.8.8g-net-snmp.patch
new file mode 100644
index 000000000000..5ee62e2279a0
--- /dev/null
+++ b/net-analyzer/cacti-spine/files/cacti-spine-0.8.8g-net-snmp.patch
@@ -0,0 +1,19 @@
+--- a/configure.ac
++++ b/configure.ac
+@@ -251,14 +251,14 @@
+
+ # Net-SNMP includes v3 support and insists on crypto unless compiled --without-openssl
+ AC_MSG_CHECKING([if Net-SNMP needs crypto support])
+-AC_TRY_COMPILE([#include <net-snmp-config.h>], [exit(NETSNMP_USE_OPENSSL != 1);],
++AC_TRY_COMPILE([#include <net-snmp/net-snmp-config.h>], [exit(NETSNMP_USE_OPENSSL != 1);],
+ [ AC_MSG_RESULT(yes)
+ SNMP_SSL=yes
+ ],
+ AC_MSG_RESULT(no)
+ )
+
+-AC_TRY_COMPILE([ #include <net-snmp-config.h>
++AC_TRY_COMPILE([ #include <net-snmp/net-snmp-config.h>
+ #include <net-snmp/utilities.h>
+ #include <net-snmp/net-snmp-includes.h>
+ #include <net-snmp/config_api.h>