pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/net-snmp Remove a duplicate case value on Darwin 8.x.
details: https://anonhg.NetBSD.org/pkgsrc/rev/0484746faf3b
branches: trunk
changeset: 509287:0484746faf3b
user: minskim <minskim%pkgsrc.org@localhost>
date: Wed Mar 08 02:47:13 2006 +0000
description:
Remove a duplicate case value on Darwin 8.x.
diffstat:
net/net-snmp/distinfo | 4 ++--
net/net-snmp/patches/patch-ag | 25 +++++++++++++++++++++++--
2 files changed, 25 insertions(+), 4 deletions(-)
diffs (54 lines):
diff -r 36dd5369b311 -r 0484746faf3b net/net-snmp/distinfo
--- a/net/net-snmp/distinfo Wed Mar 08 02:29:06 2006 +0000
+++ b/net/net-snmp/distinfo Wed Mar 08 02:47:13 2006 +0000
@@ -1,11 +1,11 @@
-$NetBSD: distinfo,v 1.19 2006/01/24 22:16:55 adam Exp $
+$NetBSD: distinfo,v 1.20 2006/03/08 02:47:13 minskim Exp $
SHA1 (net-snmp-5.3.0.1.tar.gz) = c58ddabe4281c3681a268bd48de6865e812f2ec5
RMD160 (net-snmp-5.3.0.1.tar.gz) = 86b7e56b512faf73d2a08ac3df2def4560b62945
Size (net-snmp-5.3.0.1.tar.gz) = 4183370 bytes
SHA1 (patch-ae) = 750412088b9ccd5fb50bd6e7fc049903f6113a39
SHA1 (patch-af) = 0a2819ff5113315a64de555e22c061bddc21b44e
-SHA1 (patch-ag) = e60efca053477394acaab2f67f31f5e151c80e37
+SHA1 (patch-ag) = 16ea17094d5d11de8d86f1f8808575dd0ae5d8e3
SHA1 (patch-aj) = eb17148368c9d02c0e589052b99003e7e21f2917
SHA1 (patch-al) = 2609e273d557e1ce06c1295d86965fe26ac7ff08
SHA1 (patch-am) = 9a9ed6feb2f249b294d939a00e92d3ef9dbde21b
diff -r 36dd5369b311 -r 0484746faf3b net/net-snmp/patches/patch-ag
--- a/net/net-snmp/patches/patch-ag Wed Mar 08 02:29:06 2006 +0000
+++ b/net/net-snmp/patches/patch-ag Wed Mar 08 02:47:13 2006 +0000
@@ -1,6 +1,6 @@
-$NetBSD: patch-ag,v 1.5 2006/01/24 22:16:55 adam Exp $
+$NetBSD: patch-ag,v 1.6 2006/03/08 02:47:13 minskim Exp $
---- agent/mibgroup/host/hr_storage.c.orig 2006-01-24 22:10:22.000000000 +0100
+--- agent/mibgroup/host/hr_storage.c.orig 2005-10-31 01:14:38.000000000 -0800
+++ agent/mibgroup/host/hr_storage.c
@@ -73,6 +73,13 @@
#endif
@@ -30,3 +30,24 @@
#endif
#if HAVE_SYS_MBUF_H
#include <sys/mbuf.h>
+@@ -732,11 +732,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_rm;
+@@ -764,6 +759,8 @@ really_try_next:
+ case HRS_TYPE_MBUF:
+ #ifdef linux
+ long_return = linux_mem(store_idx, HRSTORE_SIZE);
++#elif defined(darwin8) && defined(MBSTAT_SYMBOL)
++ long_return = mbstat.m_mbufs;
+ #elif HAVE_SYS_POOL_H
+ long_return = 0;
+ for (i = 0;
Home |
Main Index |
Thread Index |
Old Index