diff options
author | rtr <rtr@pkgsrc.org> | 2005-07-31 02:30:18 +0000 |
---|---|---|
committer | rtr <rtr@pkgsrc.org> | 2005-07-31 02:30:18 +0000 |
commit | 444edab11c09902a9a3e334866cb3b89fb420fd8 (patch) | |
tree | 00cdcbc54673a9afbfef97a6cade887c8ea4143f /net/net-snmp/patches/patch-am | |
parent | fa516f9b1344a0f1edd52ba3082f166dece7f62d (diff) | |
download | pkgsrc-444edab11c09902a9a3e334866cb3b89fb420fd8.tar.gz |
make net-snmp build on darwin 8.2.0 patches from darwin sources
Diffstat (limited to 'net/net-snmp/patches/patch-am')
-rw-r--r-- | net/net-snmp/patches/patch-am | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/net/net-snmp/patches/patch-am b/net/net-snmp/patches/patch-am new file mode 100644 index 00000000000..366c2b492cb --- /dev/null +++ b/net/net-snmp/patches/patch-am @@ -0,0 +1,11 @@ +--- agent/mibgroup/host/hr_swrun.c.orig 2005-07-30 21:47:42.000000000 +1000 ++++ agent/mibgroup/host/hr_swrun.c 2005-07-30 21:47:46.000000000 +1000 +@@ -1070,6 +1070,8 @@ + #else + proc_table[LowProcIndex].kp_eproc.e_vm.vm_map.size / 1024; + #endif ++#elif defined darwin ++ long_return = -1; + #else + long_return = proc_table[LowProcIndex].kp_eproc.e_vm.vm_tsize + + proc_table[LowProcIndex].kp_eproc.e_vm.vm_ssize + |