summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorgdt <gdt>2013-03-17 00:18:31 +0000
committergdt <gdt>2013-03-17 00:18:31 +0000
commit28c9263eac09b8709495ea3a3418bb190368c1ba (patch)
tree43080ed871bd66d1ec72d10aec67a521083caa79 /net
parentd8ffac025fa34328c1f662b2585a194c3bd9e967 (diff)
downloadpkgsrc-28c9263eac09b8709495ea3a3418bb190368c1ba.tar.gz
Add forgotten patchfile.
Diffstat (limited to 'net')
-rw-r--r--net/net-snmp/patches/patch-agent_mibgroup_hardware_memory_memory__netbsd.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/net/net-snmp/patches/patch-agent_mibgroup_hardware_memory_memory__netbsd.c b/net/net-snmp/patches/patch-agent_mibgroup_hardware_memory_memory__netbsd.c
new file mode 100644
index 00000000000..7a38fabbeda
--- /dev/null
+++ b/net/net-snmp/patches/patch-agent_mibgroup_hardware_memory_memory__netbsd.c
@@ -0,0 +1,13 @@
+$NetBSD: patch-agent_mibgroup_hardware_memory_memory__netbsd.c,v 1.1 2013/03/17 00:18:31 gdt Exp $
+
+--- agent/mibgroup/hardware/memory/memory_netbsd.c.orig 2012-10-09 22:28:58.000000000 +0000
++++ agent/mibgroup/hardware/memory/memory_netbsd.c
+@@ -174,7 +174,7 @@ int netsnmp_mem_arch_load( netsnmp_cache
+ mem->descr = strdup("Memory buffers");
+ mem->units = 1024;
+ mem->size = maxbufspace /1024;
+- mem->size = (maxbufspace - bufspace)/1024;
++ mem->free = (maxbufspace - bufspace)/1024;
+ }
+ #endif
+