summaryrefslogtreecommitdiff
path: root/devel/linux_kdump
diff options
context:
space:
mode:
authorMarcel Moolenaar <marcel@FreeBSD.org>2000-01-09 10:22:46 +0000
committerMarcel Moolenaar <marcel@FreeBSD.org>2000-01-09 10:22:46 +0000
commitc8927aa4acd11728fb16ee560bd98f467eb773bc (patch)
tree57541db42619eef348a49c1364e2fababf0dd1c9 /devel/linux_kdump
parentUSE_XLIB and depend on libGL.. duh (diff)
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
Notes
Notes: svn path=/head/; revision=24597
Diffstat (limited to 'devel/linux_kdump')
-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>