diff options
author | zi <zi@FreeBSD.org> | 2012-10-15 00:07:54 +0800 |
---|---|---|
committer | zi <zi@FreeBSD.org> | 2012-10-15 00:07:54 +0800 |
commit | 5059471fc1cfb7fc41c447e986d84a67fdf1dd1d (patch) | |
tree | 5b5c9672b6fa94c6de98edf247f2f1cb3e8ac176 /net-mgmt | |
parent | e00ba008ac4e873f417995c7d470b1dc6ccaa07f (diff) | |
download | freebsd-ports-gnome-5059471fc1cfb7fc41c447e986d84a67fdf1dd1d.tar.gz freebsd-ports-gnome-5059471fc1cfb7fc41c447e986d84a67fdf1dd1d.tar.zst freebsd-ports-gnome-5059471fc1cfb7fc41c447e986d84a67fdf1dd1d.zip |
- Fix build under FreeBSD jail
Feature safe: yes
Diffstat (limited to 'net-mgmt')
-rw-r--r-- | net-mgmt/net-snmp/files/patch-include__net-snmp__net-snmp-config.h.in | 11 |
1 files changed, 11 insertions, 0 deletions
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 + |