diff options
author | Steve Price <steve@FreeBSD.org> | 2000-05-28 04:10:15 +0000 |
---|---|---|
committer | Steve Price <steve@FreeBSD.org> | 2000-05-28 04:10:15 +0000 |
commit | 52a22139bf962c427d37eea93b3f294c232202ea (patch) | |
tree | c8e3c3b863713286e3c912ab0f6ebf7f18b4e8b9 | |
parent | Minor 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.
-rw-r--r-- | devel/libgtop/files/patch-ai | 11 | ||||
-rw-r--r-- | devel/libgtop2/files/patch-ai | 11 |
2 files changed, 22 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 diff --git a/devel/libgtop2/files/patch-ai b/devel/libgtop2/files/patch-ai new file mode 100644 index 000000000000..ff5209b34698 --- /dev/null +++ b/devel/libgtop2/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 |