summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authoradam <adam>2006-07-30 06:38:10 +0000
committeradam <adam>2006-07-30 06:38:10 +0000
commit5e462d57f6c6fea889804f3e40a94ea6bb306257 (patch)
treedbc1766061a7c0f69cbbd919b4ed3bed9817d25f /net
parentc93891879c265e95795fb9041f7091792802bb4d (diff)
downloadpkgsrc-5e462d57f6c6fea889804f3e40a94ea6bb306257.tar.gz
Fix building on Darwin (and some other platforms?)
Diffstat (limited to 'net')
-rw-r--r--net/net-snmp/distinfo4
-rw-r--r--net/net-snmp/patches/patch-ag14
2 files changed, 15 insertions, 3 deletions
diff --git a/net/net-snmp/distinfo b/net/net-snmp/distinfo
index 411519caddd..0e9ec31b27a 100644
--- a/net/net-snmp/distinfo
+++ b/net/net-snmp/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.25 2006/07/29 16:48:27 adam Exp $
+$NetBSD: distinfo,v 1.26 2006/07/30 06:38:10 adam Exp $
SHA1 (net-snmp-5.3.1.tar.gz) = 8ddb5122769814f04a7d3d352dcc640df7c89d41
RMD160 (net-snmp-5.3.1.tar.gz) = 7bcdd213fb2517d0927b030deab5146522b58b3d
@@ -7,7 +7,7 @@ SHA1 (patch-aa) = 30a4d1546fe7022a0578d01004fc3f284e45c392
SHA1 (patch-ab) = cdc455989f9d7abb6cad9256a42e2008b6c0f2ee
SHA1 (patch-ae) = 750412088b9ccd5fb50bd6e7fc049903f6113a39
SHA1 (patch-af) = d2a38e024bd5da572fc898674907eef8f84d4f43
-SHA1 (patch-ag) = 23c8d1755a29a503827f3851eeddddb633a2eda8
+SHA1 (patch-ag) = c6c355a48c28ae43ee96bff5d5b4b0f1fa9d69b8
SHA1 (patch-aj) = eb17148368c9d02c0e589052b99003e7e21f2917
SHA1 (patch-al) = 2609e273d557e1ce06c1295d86965fe26ac7ff08
SHA1 (patch-am) = 237adef32b2121e95a9d7bcd332420efedd3dacd
diff --git a/net/net-snmp/patches/patch-ag b/net/net-snmp/patches/patch-ag
index 11e81b5da15..d9427e73f26 100644
--- a/net/net-snmp/patches/patch-ag
+++ b/net/net-snmp/patches/patch-ag
@@ -1,4 +1,4 @@
-$NetBSD: patch-ag,v 1.8 2006/07/29 16:48:27 adam Exp $
+$NetBSD: patch-ag,v 1.9 2006/07/30 06:38:10 adam Exp $
--- agent/mibgroup/host/hr_storage.c.orig 2006-06-05 19:38:24.000000000 +0200
+++ agent/mibgroup/host/hr_storage.c
@@ -59,3 +59,15 @@ $NetBSD: patch-ag,v 1.8 2006/07/29 16:48:27 adam Exp $
#elif HAVE_SYS_POOL_H
long_return = 0;
for (i = 0;
+@@ -821,11 +818,6 @@ really_try_next:
+ case HRS_TYPE_SWAP:
+ long_return = -1;
+ break;
+-#if defined(MBSTAT_SYMBOL)
+- case HRS_TYPE_MBUF:
+- long_return = mbstat.m_mbufs;
+- break;
+-#endif
+ #elif defined(TOTAL_MEMORY_SYMBOL) || defined(USE_SYSCTL_VM)
+ case HRS_TYPE_MEM:
+ long_return = memory_totals.t_arm;