diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2004-10-29 03:44:22 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2004-10-29 03:44:22 +0800 |
commit | 8c54ba40213ed736c06ca7944a36333c4ba3ca4f (patch) | |
tree | d22591305504a42754c72faa7cd1540fdb5d3b8b /devel | |
parent | 036e271e5a5f67a1220c88ba2dccefd9fefb9df0 (diff) | |
download | marcuscom-ports-8c54ba40213ed736c06ca7944a36333c4ba3ca4f.tar marcuscom-ports-8c54ba40213ed736c06ca7944a36333c4ba3ca4f.tar.gz marcuscom-ports-8c54ba40213ed736c06ca7944a36333c4ba3ca4f.tar.bz2 marcuscom-ports-8c54ba40213ed736c06ca7944a36333c4ba3ca4f.tar.lz marcuscom-ports-8c54ba40213ed736c06ca7944a36333c4ba3ca4f.tar.xz marcuscom-ports-8c54ba40213ed736c06ca7944a36333c4ba3ca4f.tar.zst marcuscom-ports-8c54ba40213ed736c06ca7944a36333c4ba3ca4f.zip |
Fix build on 6.0-CURRENT with the new vnode changes.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@3023 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'devel')
-rw-r--r-- | devel/libgtop2/files/patch-ah | 24 |
1 files changed, 19 insertions, 5 deletions
diff --git a/devel/libgtop2/files/patch-ah b/devel/libgtop2/files/patch-ah index bbffe4a0c..3728441be 100644 --- a/devel/libgtop2/files/patch-ah +++ b/devel/libgtop2/files/patch-ah @@ -1,6 +1,20 @@ ---- sysdeps/freebsd/procmap.c.orig Wed Mar 10 21:23:52 2004 -+++ sysdeps/freebsd/procmap.c Thu Mar 11 21:45:33 2004 -@@ -104,7 +104,7 @@ +--- sysdeps/freebsd/procmap.c.orig Fri Sep 24 18:49:06 2004 ++++ sysdeps/freebsd/procmap.c Thu Oct 28 15:42:58 2004 +@@ -47,7 +47,13 @@ + #endif + #endif + ++#ifdef __FreeBSD__ ++#define _KVM_VNODE ++#endif + #include <sys/vnode.h> ++#ifdef __FreeBSD__ ++#undef _KVM_VNODE ++#endif + #include <sys/mount.h> + #include <ufs/ufs/quota.h> + #include <ufs/ufs/inode.h> +@@ -104,7 +110,7 @@ glibtop_map_entry *maps; #if defined __FreeBSD__ struct vnode vnode; @@ -9,7 +23,7 @@ struct inode inode; #endif #endif -@@ -122,8 +122,10 @@ +@@ -122,8 +128,10 @@ /* Get the process data */ pinfo = kvm_getprocs (server->machine.kd, KERN_PROC_PID, pid, &count); @@ -21,7 +35,7 @@ /* Now we get the memory maps. */ -@@ -280,13 +282,9 @@ +@@ -278,13 +286,9 @@ &inode, sizeof (inode)) != sizeof (inode)) glibtop_error_io_r (server, "kvm_read (inode)"); |