diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2007-01-15 03:42:18 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2007-01-15 03:42:18 +0800 |
commit | 99b55419201ac4422199945964001ab7388ab35a (patch) | |
tree | c15ae81e06f9afa36443dae4b8896c98cb5d5b1f | |
parent | 9f9e9f6ba1fef879e29cf0cf26d06f1b4f075963 (diff) | |
download | marcuscom-ports-99b55419201ac4422199945964001ab7388ab35a.tar marcuscom-ports-99b55419201ac4422199945964001ab7388ab35a.tar.gz marcuscom-ports-99b55419201ac4422199945964001ab7388ab35a.tar.bz2 marcuscom-ports-99b55419201ac4422199945964001ab7388ab35a.tar.lz marcuscom-ports-99b55419201ac4422199945964001ab7388ab35a.tar.xz marcuscom-ports-99b55419201ac4422199945964001ab7388ab35a.tar.zst marcuscom-ports-99b55419201ac4422199945964001ab7388ab35a.zip |
Fix another build problem on 5.X.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@8203 df743ca5-7f9a-e211-a948-0013205c9059
-rw-r--r-- | devel/libgtop/files/patch-sysdeps_freebsd_procmap.c | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/devel/libgtop/files/patch-sysdeps_freebsd_procmap.c b/devel/libgtop/files/patch-sysdeps_freebsd_procmap.c new file mode 100644 index 000000000..ba04a001b --- /dev/null +++ b/devel/libgtop/files/patch-sysdeps_freebsd_procmap.c @@ -0,0 +1,23 @@ +=================================================================== +RCS file: /space/cvs/marcuscom-cvs/libgtop/sysdeps/freebsd/procmap.c,v +retrieving revision 1.7 +retrieving revision 1.8 +diff -u -p -r1.7 -r1.8 +--- sysdeps/freebsd/procmap.c 2007/01/02 05:35:35 1.7 ++++ sysdeps/freebsd/procmap.c 2007/01/14 19:33:17 1.8 +@@ -1,4 +1,4 @@ +-/* $Id: patch-sysdeps_freebsd_procmap.c,v 1.1 2007-01-14 19:42:18 marcus Exp $ */ ++/* $Id: patch-sysdeps_freebsd_procmap.c,v 1.1 2007-01-14 19:42:18 marcus Exp $ */ + + /* Copyright (C) 1998 Joshua Sled + This file is part of LibGTop 1.0. +@@ -48,7 +48,9 @@ + #include <ufs/ufs/quota.h> + #include <ufs/ufs/inode.h> + #include <fs/devfs/devfs.h> ++#if (__FreeBSD_version >= 600006) || defined(__FreeBSD_kernel__) + #include <fs/devfs/devfs_int.h> ++#endif + #undef _KERNEL + + #include <sys/ucred.h> |