summaryrefslogtreecommitdiffstats
path: root/devel/libgtop2/files/patch-sysdeps_freebsd_mem.c
diff options
context:
space:
mode:
Diffstat (limited to 'devel/libgtop2/files/patch-sysdeps_freebsd_mem.c')
-rw-r--r--devel/libgtop2/files/patch-sysdeps_freebsd_mem.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/libgtop2/files/patch-sysdeps_freebsd_mem.c b/devel/libgtop2/files/patch-sysdeps_freebsd_mem.c
new file mode 100644
index 000000000..2aa4b7534
--- /dev/null
+++ b/devel/libgtop2/files/patch-sysdeps_freebsd_mem.c
@@ -0,0 +1,11 @@
+--- sysdeps/freebsd/mem.c.orig Tue Jan 14 17:22:18 2003
++++ sysdeps/freebsd/mem.c Tue Jan 14 17:22:28 2003
+@@ -75,7 +75,7 @@
+
+ /* MIB array for sysctl */
+ static int mib_length=2;
+-#ifdef __bsdi__
++#ifndef VM_METER
+ static int mib [] = { CTL_VM, VM_TOTAL };
+ #else
+ static int mib [] = { CTL_VM, VM_METER };