pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/net-snmp Include <sys/param.h> to get __NetBSD_Ver...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/cea126bc92fa
branches:  trunk
changeset: 465468:cea126bc92fa
user:      kim <kim%pkgsrc.org@localhost>
date:      Tue Dec 30 19:30:48 2003 +0000

description:
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:

 net/net-snmp/distinfo         |   4 ++--
 net/net-snmp/patches/patch-ac |  15 ++++++++++++---
 2 files changed, 14 insertions(+), 5 deletions(-)

diffs (43 lines):

diff -r fb415fe1f826 -r cea126bc92fa net/net-snmp/distinfo
--- a/net/net-snmp/distinfo     Tue Dec 30 18:02:28 2003 +0000
+++ b/net/net-snmp/distinfo     Tue Dec 30 19:30:48 2003 +0000
@@ -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 -r fb415fe1f826 -r cea126bc92fa net/net-snmp/patches/patch-ac
--- a/net/net-snmp/patches/patch-ac     Tue Dec 30 18:02:28 2003 +0000
+++ b/net/net-snmp/patches/patch-ac     Tue Dec 30 19:30:48 2003 +0000
@@ -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



Home | Main Index | Thread Index | Old Index