diff options
-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 }; |