mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
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
This commit is contained in:
parent
75c35020bd
commit
c8927aa4ac
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=24597
1 changed files with 13 additions and 0 deletions
13
devel/linux_kdump/files/patch-aa
Normal file
13
devel/linux_kdump/files/patch-aa
Normal file
|
@ -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>
|
Loading…
Add table
Reference in a new issue