From ae63a11d1a97cbc1d05fa28acc32f0dbab659678 Mon Sep 17 00:00:00 2001 From: kim Date: Tue, 30 Dec 2003 19:30:48 +0000 Subject: Include 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"). --- net/net-snmp/distinfo | 4 ++-- net/net-snmp/patches/patch-ac | 15 ++++++++++++--- 2 files changed, 14 insertions(+), 5 deletions(-) (limited to 'net') 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 ++ + #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 -- cgit v1.2.3