summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAde Lovett <ade@FreeBSD.org>2000-08-07 15:48:54 +0000
committerAde Lovett <ade@FreeBSD.org>2000-08-07 15:48:54 +0000
commitc990206c5633a857157a6ddcc56bcd8226dfc896 (patch)
tree9973467b85bceee83952bebd8413580a122e9ae3
parentUpdate to 1.1.4. (diff)
RELENG_4 now uses _KERNEL instead of KERNEL, too.
Build failure pointed out by: Anders Andersson <anders@sanyusan.se>
Notes
Notes: svn path=/head/; revision=31376
-rw-r--r--devel/libgtop/files/patch-ai2
-rw-r--r--devel/libgtop2/files/patch-ai2
2 files changed, 2 insertions, 2 deletions
diff --git a/devel/libgtop/files/patch-ai b/devel/libgtop/files/patch-ai
index bf211b5c1526..5a8d660e3aff 100644
--- a/devel/libgtop/files/patch-ai
+++ b/devel/libgtop/files/patch-ai
@@ -5,7 +5,7 @@
/* #define KERNEL to get declaration of `struct msginfo'. */
-#if (defined __FreeBSD__) || (defined __bsdi__)
-+#if ((defined __FreeBSD__) && (__FreeBSD_version < 500000)) || (defined __bsdi__)
++#if ((defined __FreeBSD__) && (__FreeBSD_version < 410000)) || (defined __bsdi__)
#define KERNEL 1
#else
#define _KERNEL 1
diff --git a/devel/libgtop2/files/patch-ai b/devel/libgtop2/files/patch-ai
index bf211b5c1526..5a8d660e3aff 100644
--- a/devel/libgtop2/files/patch-ai
+++ b/devel/libgtop2/files/patch-ai
@@ -5,7 +5,7 @@
/* #define KERNEL to get declaration of `struct msginfo'. */
-#if (defined __FreeBSD__) || (defined __bsdi__)
-+#if ((defined __FreeBSD__) && (__FreeBSD_version < 500000)) || (defined __bsdi__)
++#if ((defined __FreeBSD__) && (__FreeBSD_version < 410000)) || (defined __bsdi__)
#define KERNEL 1
#else
#define _KERNEL 1