aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkuriyama <kuriyama@FreeBSD.org>2008-12-25 10:00:49 +0800
committerkuriyama <kuriyama@FreeBSD.org>2008-12-25 10:00:49 +0800
commit6de6028ae49f9c9066195673b825599c5a81dfe4 (patch)
tree9ea56bfb659e65eabaf8b338746fb3576ffcdadd
parent1e35529894fd0cd8bb1dcacb4d424fb0e8799e70 (diff)
downloadfreebsd-ports-gnome-6de6028ae49f9c9066195673b825599c5a81dfe4.tar.gz
freebsd-ports-gnome-6de6028ae49f9c9066195673b825599c5a81dfe4.tar.zst
freebsd-ports-gnome-6de6028ae49f9c9066195673b825599c5a81dfe4.zip
Unbreak on HEAD after r186119 (L2/L3 table split).
-rw-r--r--net-mgmt/net-snmp-devel/files/patch-at.c14
-rw-r--r--net-mgmt/net-snmp/files/patch-at.c14
2 files changed, 28 insertions, 0 deletions
diff --git a/net-mgmt/net-snmp-devel/files/patch-at.c b/net-mgmt/net-snmp-devel/files/patch-at.c
new file mode 100644
index 000000000000..12070f96cc23
--- /dev/null
+++ b/net-mgmt/net-snmp-devel/files/patch-at.c
@@ -0,0 +1,14 @@
+--- agent/mibgroup/mibII/at.c.orig 2008-12-25 10:40:04.000000000 +0900
++++ agent/mibgroup/mibII/at.c 2008-12-25 10:40:59.000000000 +0900
+@@ -686,7 +686,11 @@
+ mib[2] = 0;
+ mib[3] = AF_INET;
+ mib[4] = NET_RT_FLAGS;
++#if defined(RTF_LLINFO)
+ mib[5] = RTF_LLINFO;
++#else
++ mib[5] = 0;
++#endif
+
+ if (at)
+ free(at);
diff --git a/net-mgmt/net-snmp/files/patch-at.c b/net-mgmt/net-snmp/files/patch-at.c
new file mode 100644
index 000000000000..12070f96cc23
--- /dev/null
+++ b/net-mgmt/net-snmp/files/patch-at.c
@@ -0,0 +1,14 @@
+--- agent/mibgroup/mibII/at.c.orig 2008-12-25 10:40:04.000000000 +0900
++++ agent/mibgroup/mibII/at.c 2008-12-25 10:40:59.000000000 +0900
+@@ -686,7 +686,11 @@
+ mib[2] = 0;
+ mib[3] = AF_INET;
+ mib[4] = NET_RT_FLAGS;
++#if defined(RTF_LLINFO)
+ mib[5] = RTF_LLINFO;
++#else
++ mib[5] = 0;
++#endif
+
+ if (at)
+ free(at);