aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2000-01-09 18:22:46 +0800
committermarcel <marcel@FreeBSD.org>2000-01-09 18:22:46 +0800
commit85e748d82b2c154f5b530d7dc85f3a43620646bf (patch)
treee7f78bacfda7345b3fd9d0cf9955e9c28a02973a
parentb227bb85325561ac32bdc54fed1ff011ecf5fa45 (diff)
downloadfreebsd-ports-gnome-85e748d82b2c154f5b530d7dc85f3a43620646bf.tar.gz
freebsd-ports-gnome-85e748d82b2c154f5b530d7dc85f3a43620646bf.tar.zst
freebsd-ports-gnome-85e748d82b2c154f5b530d7dc85f3a43620646bf.zip
Make the port (version 1.4) work on -current again where KERNEL has
been renamed to _KERNEL. Keep KERNEL so that the port still works on -stable. Brokenness spotted by: kris
-rw-r--r--devel/linux_kdump/files/patch-aa13
1 files changed, 13 insertions, 0 deletions
diff --git a/devel/linux_kdump/files/patch-aa b/devel/linux_kdump/files/patch-aa
new file mode 100644
index 000000000000..a22bcd75dcff
--- /dev/null
+++ b/devel/linux_kdump/files/patch-aa
@@ -0,0 +1,13 @@
+--- kdump.c.orig Sat Oct 9 19:57:45 1999
++++ kdump.c Sun Jan 9 11:19:14 2000
+@@ -46,8 +46,10 @@
+ #endif /* not lint */
+
+ #define KERNEL
++#define _KERNEL
+ extern int errno;
+ #include <sys/errno.h>
++#undef _KERNEL
+ #undef KERNEL
+ #include <sys/param.h>
+ #include <sys/errno.h>