summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorkim <kim@pkgsrc.org>2003-12-30 19:30:48 +0000
committerkim <kim@pkgsrc.org>2003-12-30 19:30:48 +0000
commiteb9cd60e85e34aa5c8dde6507b1ca9bbfe444edf (patch)
tree97ce22b18cdb52cd995d27f0ce7d4dae7f01fdc5 /net
parent16129b0be847c0f9c7e3333bc0cf216e91b1e3b6 (diff)
downloadpkgsrc-eb9cd60e85e34aa5c8dde6507b1ca9bbfe444edf.tar.gz
Include <sys/param.h> to get __NetBSD_Version__ defined.
Also undefine TOTAL_MEMORY_SYMBOL, since we don't have it (or at least there is no "total" or "_total").
Diffstat (limited to 'net')
-rw-r--r--net/net-snmp/distinfo4
-rw-r--r--net/net-snmp/patches/patch-ac15
2 files changed, 14 insertions, 5 deletions
diff --git a/net/net-snmp/distinfo b/net/net-snmp/distinfo
index d159219eeca..4759e6a8dcf 100644
--- a/net/net-snmp/distinfo
+++ b/net/net-snmp/distinfo
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.4 2003/12/30 05:29:45 christos Exp $
+$NetBSD: distinfo,v 1.5 2003/12/30 19:30:48 kim Exp $
SHA1 (net-snmp-5.0.9.tar.gz) = bb27bdf38da96833a3fa55f8c6a14732ab2c1991
Size (net-snmp-5.0.9.tar.gz) = 2345822 bytes
SHA1 (patch-aa) = 40ef03e182f8e8bb4f01f67f97c200c6e82f3d82
SHA1 (patch-ab) = 94146deb60a3923481c52dc66a64a269641a1265
-SHA1 (patch-ac) = 8f4eb73296e817f7bbcb4c9d9ac6f2495d339798
+SHA1 (patch-ac) = 23696f87cf5669e52ca9c70d4a7f30f649574083
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