aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/net-snmp-devel
diff options
context:
space:
mode:
authorkuriyama <kuriyama@FreeBSD.org>2004-08-31 23:52:18 +0800
committerkuriyama <kuriyama@FreeBSD.org>2004-08-31 23:52:18 +0800
commitdbd6fed8de8f31b0d510b797e5e442e989517294 (patch)
treeec6bc8aca4ce86a68f25dd086f8c09216ef82628 /net-mgmt/net-snmp-devel
parent095566fcd9450c396d153ca02696393dfacc5264 (diff)
downloadfreebsd-ports-gnome-dbd6fed8de8f31b0d510b797e5e442e989517294.tar.gz
freebsd-ports-gnome-dbd6fed8de8f31b0d510b797e5e442e989517294.tar.zst
freebsd-ports-gnome-dbd6fed8de8f31b0d510b797e5e442e989517294.zip
Unbreak on 6-current.
Diffstat (limited to 'net-mgmt/net-snmp-devel')
-rw-r--r--net-mgmt/net-snmp-devel/files/patch-freebsd5.h10
-rw-r--r--net-mgmt/net-snmp-devel/files/patch-freebsd6.h5
2 files changed, 15 insertions, 0 deletions
diff --git a/net-mgmt/net-snmp-devel/files/patch-freebsd5.h b/net-mgmt/net-snmp-devel/files/patch-freebsd5.h
new file mode 100644
index 000000000000..8bc6de2831b5
--- /dev/null
+++ b/net-mgmt/net-snmp-devel/files/patch-freebsd5.h
@@ -0,0 +1,10 @@
+--- include/net-snmp/system/freebsd5.h.orig Wed Sep 1 00:13:46 2004
++++ include/net-snmp/system/freebsd5.h Wed Sep 1 00:13:57 2004
+@@ -7,6 +7,7 @@
+ #define freebsd3 1
+ /* freebsd5 is a superset of freebsd4 */
+ #define freebsd4 1
++#define freebsd5 1
+
+ #undef IFADDR_SYMBOL
+ #define IFADDR_SYMBOL "in_ifaddrhead"
diff --git a/net-mgmt/net-snmp-devel/files/patch-freebsd6.h b/net-mgmt/net-snmp-devel/files/patch-freebsd6.h
new file mode 100644
index 000000000000..95fb5509c798
--- /dev/null
+++ b/net-mgmt/net-snmp-devel/files/patch-freebsd6.h
@@ -0,0 +1,5 @@
+--- /dev/null Tue Aug 31 23:33:01 2004
++++ include/net-snmp/system/freebsd6.h Tue Aug 31 23:36:22 2004
+@@ -0,0 +1,2 @@
++#include "freebsd5.h"
++