From 99b55419201ac4422199945964001ab7388ab35a Mon Sep 17 00:00:00 2001 From: marcus Date: Sun, 14 Jan 2007 19:42:18 +0000 Subject: Fix another build problem on 5.X. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@8203 df743ca5-7f9a-e211-a948-0013205c9059 --- .../libgtop/files/patch-sysdeps_freebsd_procmap.c | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 devel/libgtop/files/patch-sysdeps_freebsd_procmap.c 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 + #include + #include ++#if (__FreeBSD_version >= 600006) || defined(__FreeBSD_kernel__) + #include ++#endif + #undef _KERNEL + + #include -- cgit v1.2.3