summaryrefslogtreecommitdiff
path: root/devel/libgtop
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>2000-05-28 04:10:15 +0000
committerSteve Price <steve@FreeBSD.org>2000-05-28 04:10:15 +0000
commit52a22139bf962c427d37eea93b3f294c232202ea (patch)
treec8e3c3b863713286e3c912ab0f6ebf7f18b4e8b9 /devel/libgtop
parentMinor changes to mod_dav.h without bumping the distfile's version number. (diff)
#define _KERNEL on -current before including sys/msg.h so this will build
correctly.
Notes
Notes: svn path=/head/; revision=28826
Diffstat (limited to 'devel/libgtop')
-rw-r--r--devel/libgtop/files/patch-ai11
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/libgtop/files/patch-ai b/devel/libgtop/files/patch-ai
new file mode 100644
index 000000000000..ff5209b34698
--- /dev/null
+++ b/devel/libgtop/files/patch-ai
@@ -0,0 +1,11 @@
+--- sysdeps/freebsd/msg_limits.c.orig Sat May 27 14:19:11 2000
++++ sysdeps/freebsd/msg_limits.c Sat May 27 14:21:05 2000
+@@ -46,7 +46,7 @@
+
+ /* #define KERNEL to get declaration of `struct msginfo'. */
+
+-#if (defined __FreeBSD__) || (defined __bsdi__)
++#if (defined(__FreeBSD__) && __FreeBSD__ < 5) || (defined __bsdi__)
+ #define KERNEL 1
+ #else
+ #define _KERNEL 1