pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/net-snmp Fix building on Darwin (and some other pl...
details: https://anonhg.NetBSD.org/pkgsrc/rev/96a0624abaef
branches: trunk
changeset: 516865:96a0624abaef
user: adam <adam%pkgsrc.org@localhost>
date: Sun Jul 30 06:38:10 2006 +0000
description:
Fix building on Darwin (and some other platforms?)
diffstat:
net/net-snmp/distinfo | 4 ++--
net/net-snmp/patches/patch-ag | 14 +++++++++++++-
2 files changed, 15 insertions(+), 3 deletions(-)
diffs (43 lines):
diff -r 51a3b7d01e5c -r 96a0624abaef net/net-snmp/distinfo
--- a/net/net-snmp/distinfo Sun Jul 30 00:30:55 2006 +0000
+++ b/net/net-snmp/distinfo Sun Jul 30 06:38:10 2006 +0000
@@ -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-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 -r 51a3b7d01e5c -r 96a0624abaef net/net-snmp/patches/patch-ag
--- a/net/net-snmp/patches/patch-ag Sun Jul 30 00:30:55 2006 +0000
+++ b/net/net-snmp/patches/patch-ag Sun Jul 30 06:38:10 2006 +0000
@@ -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 @@
#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;
Home |
Main Index |
Thread Index |
Old Index