diff options
author | Joe Marcus Clarke <marcus@FreeBSD.org> | 2003-01-14 22:24:55 +0000 |
---|---|---|
committer | Joe Marcus Clarke <marcus@FreeBSD.org> | 2003-01-14 22:24:55 +0000 |
commit | 21d200f69bc0092efa3615918fa0b6ccc59fd706 (patch) | |
tree | 1a9e732319e65d9978c6c97e4792a9ba1c50c632 | |
parent | 6a8ee6053b2ea067f6e750597b5c5141a94fb2cf (diff) |
Fix build on -CURRENT.
Reported by: Anders Andersson <anders@hack.org>
David Vastine <dvastine@vastine.net>
Tested by: David Vastine <dvastine@vastine.net>
Notes
Notes:
svn path=/head/; revision=73147
-rw-r--r-- | devel/libgtop/files/patch-sysdeps_freebsd_mem.c | 11 | ||||
-rw-r--r-- | devel/libgtop2/files/patch-sysdeps_freebsd_mem.c | 11 |
2 files changed, 22 insertions, 0 deletions
diff --git a/devel/libgtop/files/patch-sysdeps_freebsd_mem.c b/devel/libgtop/files/patch-sysdeps_freebsd_mem.c new file mode 100644 index 000000000000..268454470be5 --- /dev/null +++ b/devel/libgtop/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__ ++#ifdef 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 new file mode 100644 index 000000000000..268454470be5 --- /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__ ++#ifdef VM_METER + static int mib [] = { CTL_VM, VM_TOTAL }; + #else + static int mib [] = { CTL_VM, VM_METER }; |