diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2008-08-03 07:08:30 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2008-08-03 07:08:30 +0800 |
commit | 9a3b1be38c154f4015e97f6b6672189888036e74 (patch) | |
tree | 029a9297277594dd1b38d968d0b3321f69df5cd5 /devel/libgtop | |
parent | fb00351ebfe806a3c5155f56b8b9ae492104bd3a (diff) | |
download | marcuscom-ports-9a3b1be38c154f4015e97f6b6672189888036e74.tar marcuscom-ports-9a3b1be38c154f4015e97f6b6672189888036e74.tar.gz marcuscom-ports-9a3b1be38c154f4015e97f6b6672189888036e74.tar.bz2 marcuscom-ports-9a3b1be38c154f4015e97f6b6672189888036e74.tar.lz marcuscom-ports-9a3b1be38c154f4015e97f6b6672189888036e74.tar.xz marcuscom-ports-9a3b1be38c154f4015e97f6b6672189888036e74.tar.zst marcuscom-ports-9a3b1be38c154f4015e97f6b6672189888036e74.zip |
Sync with the FreeBSD ports tree.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@11193 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'devel/libgtop')
-rw-r--r-- | devel/libgtop/files/patch-sysdeps_freebsd_procmap.c | 24 |
1 files changed, 21 insertions, 3 deletions
diff --git a/devel/libgtop/files/patch-sysdeps_freebsd_procmap.c b/devel/libgtop/files/patch-sysdeps_freebsd_procmap.c index 1b90b2308..97fde7b17 100644 --- a/devel/libgtop/files/patch-sysdeps_freebsd_procmap.c +++ b/devel/libgtop/files/patch-sysdeps_freebsd_procmap.c @@ -1,6 +1,24 @@ ---- sysdeps/freebsd/procmap.c.orig 2008-06-21 01:58:25.000000000 +0200 -+++ sysdeps/freebsd/procmap.c 2008-06-21 01:58:30.000000000 +0200 -@@ -103,8 +103,14 @@ +--- sysdeps/freebsd/procmap.c.orig 2008-05-23 18:13:23.000000000 -0400 ++++ sysdeps/freebsd/procmap.c 2008-08-02 19:03:51.000000000 -0400 +@@ -41,7 +41,17 @@ + #define _KERNEL + #include <sys/pipe.h> + #include <sys/conf.h> ++#undef _KERNEL ++#if __FreeBSD_version >= 800038 ++#define _WANT_FILE + #include <sys/file.h> ++#undef _WANT_FILE ++#else ++#define _KERNEL ++#include <sys/file.h> ++#undef _KERNEL ++#endif ++#define _KERNEL + #include <sys/mount.h> + #include <ufs/ufs/quota.h> + #include <ufs/ufs/inode.h> +@@ -103,8 +113,14 @@ _glibtop_sysdeps_freebsd_dev_inode (glib if (kvm_read (server->machine.kd, (gulong) inode.i_dev, (char *) &si, sizeof (si)) != sizeof (si) || |