summaryrefslogtreecommitdiff
path: root/net-mgmt/net-snmp/files/patch-sctpTables_common.h
diff options
context:
space:
mode:
Diffstat (limited to 'net-mgmt/net-snmp/files/patch-sctpTables_common.h')
-rw-r--r--net-mgmt/net-snmp/files/patch-sctpTables_common.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/net-mgmt/net-snmp/files/patch-sctpTables_common.h b/net-mgmt/net-snmp/files/patch-sctpTables_common.h
new file mode 100644
index 000000000000..35812d0c7486
--- /dev/null
+++ b/net-mgmt/net-snmp/files/patch-sctpTables_common.h
@@ -0,0 +1,13 @@
+--- agent/mibgroup/sctp-mib/sctpTables_common.h.orig 2009-01-23 23:42:34.000000000 +0900
++++ agent/mibgroup/sctp-mib/sctpTables_common.h 2009-01-23 23:43:11.000000000 +0900
+@@ -5,6 +5,10 @@
+ #include <net-snmp/net-snmp-includes.h>
+ #include <net-snmp/agent/net-snmp-agent-includes.h>
+
++#if defined(freebsd7)
++#define netsnmp_table_registration_info_free SNMP_FREE
++#endif
++
+ #define SCTP_IPADDRESS_SIZE 16
+ #define SCTP_HOSTNAME_SIZE 255
+