summaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2005-02-26 16:54:14 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2005-02-26 16:54:14 +0800
commitf215b485897673c49b1ad63f3c0dd4c511dbb676 (patch)
tree619b1820d7f0929691e0c45d992ed5553bf07c3f /devel
parentda4b8af9424bb4e4f5fd17d05dd59ac1f7b2571d (diff)
downloadmarcuscom-ports-f215b485897673c49b1ad63f3c0dd4c511dbb676.tar.gz
marcuscom-ports-f215b485897673c49b1ad63f3c0dd4c511dbb676.tar.zst
marcuscom-ports-f215b485897673c49b1ad63f3c0dd4c511dbb676.zip
This should fix the build problems on recent versions of 5.X and 6.X.
Reported by: mezz git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@3711 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'devel')
-rw-r--r--devel/libgtop2/files/patch-sysdeps::freebsd::procmem.c12
1 files changed, 11 insertions, 1 deletions
diff --git a/devel/libgtop2/files/patch-sysdeps::freebsd::procmem.c b/devel/libgtop2/files/patch-sysdeps::freebsd::procmem.c
index cbbc07042..1b4eb788a 100644
--- a/devel/libgtop2/files/patch-sysdeps::freebsd::procmem.c
+++ b/devel/libgtop2/files/patch-sysdeps::freebsd::procmem.c
@@ -1,5 +1,5 @@
--- sysdeps/freebsd/procmem.c.orig Fri Sep 24 18:49:06 2004
-+++ sysdeps/freebsd/procmem.c Sat Feb 26 02:24:39 2005
++++ sysdeps/freebsd/procmem.c Sat Feb 26 03:53:09 2005
@@ -31,7 +31,7 @@
#include <sys/param.h>
#include <sys/proc.h>
@@ -18,3 +18,13 @@
#include <uvm/uvm.h>
#else
#include <vm/vm.h>
+@@ -125,7 +125,9 @@
+ #else
+ struct vm_object object;
+ #endif
++#if !defined(__FreeBSD__) || (__FreeBSD_version < 500013)
+ struct plimit plimit;
++#endif
+ int count;
+
+ glibtop_init_p (server, (1L << GLIBTOP_SYSDEPS_PROC_MEM), 0);