summaryrefslogtreecommitdiff
path: root/net/net-snmp/patches
diff options
context:
space:
mode:
authorgdt <gdt@pkgsrc.org>2013-03-17 00:18:31 +0000
committergdt <gdt@pkgsrc.org>2013-03-17 00:18:31 +0000
commitdc22327895d33976f079dc54bdb5b99f2e0dc76e (patch)
tree43080ed871bd66d1ec72d10aec67a521083caa79 /net/net-snmp/patches
parent082c95377c4c92f70cdff26a6130729f71722c38 (diff)
downloadpkgsrc-dc22327895d33976f079dc54bdb5b99f2e0dc76e.tar.gz
Add forgotten patchfile.
Diffstat (limited to 'net/net-snmp/patches')
-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
+