summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2003-01-15 01:28:41 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2003-01-15 01:28:41 +0000
commit98d23a76be3ee624c3020ab6b94a43f4f0a7aedd (patch)
tree46392531a4a1c5a67032aaf2400c4068e40f454e /devel
parentAdd missing FreeBSD case. Needed to fix the breakage introduced (diff)
Fix a stupid typo that resulted in breaking libgtop[2] on both -CURRENT and
-STABLE. Spotted by: Mike Harding <mvh@ix.netcom.com>
Notes
Notes: svn path=/head/; revision=73150
Diffstat (limited to 'devel')
-rw-r--r--devel/libgtop/files/patch-sysdeps_freebsd_mem.c2
-rw-r--r--devel/libgtop2/files/patch-sysdeps_freebsd_mem.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/devel/libgtop/files/patch-sysdeps_freebsd_mem.c b/devel/libgtop/files/patch-sysdeps_freebsd_mem.c
index 268454470be5..2aa4b753479f 100644
--- a/devel/libgtop/files/patch-sysdeps_freebsd_mem.c
+++ b/devel/libgtop/files/patch-sysdeps_freebsd_mem.c
@@ -5,7 +5,7 @@
/* MIB array for sysctl */
static int mib_length=2;
-#ifdef __bsdi__
-+#ifdef VM_METER
++#ifndef VM_METER
static int mib [] = { CTL_VM, VM_TOTAL };
#else
static int mib [] = { CTL_VM, VM_METER };
diff --git a/devel/libgtop2/files/patch-sysdeps_freebsd_mem.c b/devel/libgtop2/files/patch-sysdeps_freebsd_mem.c
index 268454470be5..2aa4b753479f 100644
--- a/devel/libgtop2/files/patch-sysdeps_freebsd_mem.c
+++ b/devel/libgtop2/files/patch-sysdeps_freebsd_mem.c
@@ -5,7 +5,7 @@
/* MIB array for sysctl */
static int mib_length=2;
-#ifdef __bsdi__
-+#ifdef VM_METER
++#ifndef VM_METER
static int mib [] = { CTL_VM, VM_TOTAL };
#else
static int mib [] = { CTL_VM, VM_METER };