summaryrefslogtreecommitdiff
path: root/devel/libgtop2/patches/patch-ai
diff options
context:
space:
mode:
Diffstat (limited to 'devel/libgtop2/patches/patch-ai')
-rw-r--r--devel/libgtop2/patches/patch-ai22
1 files changed, 22 insertions, 0 deletions
diff --git a/devel/libgtop2/patches/patch-ai b/devel/libgtop2/patches/patch-ai
new file mode 100644
index 00000000000..52aa28ceccb
--- /dev/null
+++ b/devel/libgtop2/patches/patch-ai
@@ -0,0 +1,22 @@
+$NetBSD: patch-ai,v 1.1.1.1 2002/11/04 02:56:17 rh Exp $
+
+--- sysdeps/freebsd/mem.c.orig Sun Feb 13 10:47:58 2000
++++ sysdeps/freebsd/mem.c Sat Jul 29 22:32:44 2000
+@@ -29,7 +29,9 @@
+
+ #include <sys/sysctl.h>
+ #include <sys/vmmeter.h>
++#if defined(__NetBSD__) && (__NetBSD_Version__ < 105020000)
+ #include <vm/vm_param.h>
++#endif
+
+ #if defined(__NetBSD__) && (__NetBSD_Version__ >= 104000000)
+ #include <uvm/uvm_extern.h>
+@@ -74,7 +76,6 @@
+ };
+
+ /* MIB array for sysctl */
+-static int mib_length=2;
+ #ifdef __bsdi__
+ static int mib [] = { CTL_VM, VM_TOTAL };
+ #else