diff options
author | minskim <minskim> | 2006-03-08 02:47:13 +0000 |
---|---|---|
committer | minskim <minskim> | 2006-03-08 02:47:13 +0000 |
commit | ab5d0691e649e7ed4a7b3451ab1f5d74f0e6cdf3 (patch) | |
tree | 42ead08da57c90273f66767a76f40b433fa8c62b /net/net-snmp | |
parent | a7254761f1c3897321b0607198e521b35e2b7a55 (diff) | |
download | pkgsrc-ab5d0691e649e7ed4a7b3451ab1f5d74f0e6cdf3.tar.gz |
Remove a duplicate case value on Darwin 8.x.
Diffstat (limited to 'net/net-snmp')
-rw-r--r-- | net/net-snmp/distinfo | 4 | ||||
-rw-r--r-- | net/net-snmp/patches/patch-ag | 25 |
2 files changed, 25 insertions, 4 deletions
diff --git a/net/net-snmp/distinfo b/net/net-snmp/distinfo index e210d01f070..e3278e3acc0 100644 --- a/net/net-snmp/distinfo +++ b/net/net-snmp/distinfo @@ -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 --git a/net/net-snmp/patches/patch-ag b/net/net-snmp/patches/patch-ag index 74ecdb86136..9198fab106c 100644 --- a/net/net-snmp/patches/patch-ag +++ b/net/net-snmp/patches/patch-ag @@ -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 @@ $NetBSD: patch-ag,v 1.5 2006/01/24 22:16:55 adam Exp $ #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; |