From eab4eef5bedba658391d8871b47edca37f4eed4a Mon Sep 17 00:00:00 2001 From: Ryan Steinmetz Date: Sun, 14 Oct 2012 16:07:54 +0000 Subject: - Fix build under FreeBSD jail Feature safe: yes --- .../files/patch-include__net-snmp__net-snmp-config.h.in | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 net-mgmt/net-snmp/files/patch-include__net-snmp__net-snmp-config.h.in (limited to 'net-mgmt') diff --git a/net-mgmt/net-snmp/files/patch-include__net-snmp__net-snmp-config.h.in b/net-mgmt/net-snmp/files/patch-include__net-snmp__net-snmp-config.h.in new file mode 100644 index 000000000000..5aae1ccb4262 --- /dev/null +++ b/net-mgmt/net-snmp/files/patch-include__net-snmp__net-snmp-config.h.in @@ -0,0 +1,11 @@ +--- ./include/net-snmp/net-snmp-config.h.in.orig 2012-10-09 18:28:58.000000000 -0400 ++++ ./include/net-snmp/net-snmp-config.h.in 2012-10-14 11:37:35.000000000 -0400 +@@ -2106,7 +2106,7 @@ + #define UCD_SNMP_LIBRARY 1 + + /* final conclusion on nlist usage */ +-#if defined(HAVE_NLIST) && defined(HAVE_STRUCT_NLIST_N_VALUE) && !defined(NETSNMP_DONT_USE_NLIST) && defined(HAVE_KMEM) && !defined(NETSNMP_NO_KMEM_USAGE) ++#if defined(HAVE_NLIST) && defined(HAVE_STRUCT_NLIST_N_VALUE) && !defined(NETSNMP_DONT_USE_NLIST) && !defined(NETSNMP_NO_KMEM_USAGE) + #define NETSNMP_CAN_USE_NLIST + #endif + -- cgit v1.2.3