summaryrefslogtreecommitdiff
path: root/net/net-snmp/patches/patch-ac
diff options
context:
space:
mode:
Diffstat (limited to 'net/net-snmp/patches/patch-ac')
-rw-r--r--net/net-snmp/patches/patch-ac15
1 files changed, 12 insertions, 3 deletions
diff --git a/net/net-snmp/patches/patch-ac b/net/net-snmp/patches/patch-ac
index e5937158fe9..534edaf0a67 100644
--- a/net/net-snmp/patches/patch-ac
+++ b/net/net-snmp/patches/patch-ac
@@ -1,14 +1,23 @@
-$NetBSD: patch-ac,v 1.1 2003/12/30 05:29:45 christos Exp $
+$NetBSD: patch-ac,v 1.2 2003/12/30 19:30:48 kim Exp $
--- include/net-snmp/system/netbsd.h.orig 2002-04-20 03:30:12.000000000 -0400
-+++ include/net-snmp/system/netbsd.h 2003-12-30 00:20:27.000000000 -0500
-@@ -22,6 +22,11 @@
++++ include/net-snmp/system/netbsd.h 2003-12-30 14:17:00.000000000 -0500
+@@ -1,5 +1,7 @@
+ #include "bsd.h"
+
++#include <sys/param.h>
++
+ #define PCB_TABLE 1
+ #undef TCP_SYMBOL
+ #define TCP_SYMBOL "tcbtable"
+@@ -22,6 +24,12 @@
#define INP_PREV_SYMBOL inp_queue.cqe_prev
#define HAVE_INPCBTABLE 1
+#if __NetBSD_Version__ >= 106300000 /* NetBSD 1.6ZD */
+#undef IFADDR_SYMBOL
+#define IFADDR_SYMBOL "in_ifaddrhead"
++#undef TOTAL_MEMORY_SYMBOL
+#endif
+
#define UTMP_FILE _PATH_UTMP