Add -I/sys to the KLD compilation flags. This is a workaround,

but not a fix, for ports/16496.

PR:		ports/16496
Submitted by:	Matthew Reimer <mreimer@vpop.net>
This commit is contained in:
Archie Cobbs 2000-02-02 21:42:18 +00:00
parent c2fc81b04c
commit 467fbeb227
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=25426
2 changed files with 3 additions and 3 deletions

View file

@ -1,12 +1,12 @@
diff -ur --unidirectional-new-file skipsrc-1.0.orig/skip/freebsd/Makefile.defs work.new/skip/freebsd/Makefile.defs
--- skipsrc-1.0.orig/skip/freebsd/Makefile.defs Fri Oct 25 13:12:42 1996
+++ work.new/skip/freebsd/Makefile.defs Mon Jan 24 13:45:40 2000
+++ work.new/skip/freebsd/Makefile.defs Wed Feb 2 11:30:42 2000
@@ -93,7 +93,7 @@
# Kernel compilation flags
#
-K_FLAGS_FREEBSD_gnu = -DKERNEL -DFREEBSD
+K_FLAGS_FREEBSD_gnu = -DKERNEL -D_KERNEL -DKLD_MODULE
+K_FLAGS_FREEBSD_gnu = -DKERNEL -D_KERNEL -DKLD_MODULE -I/sys
# OS Libraries
#

View file

@ -1,6 +1,6 @@
diff -ur --unidirectional-new-file skipsrc-1.0.orig/skip/freebsd/skip_os.h work.new/skip/freebsd/skip_os.h
--- skipsrc-1.0.orig/skip/freebsd/skip_os.h Fri Oct 25 13:12:43 1996
+++ work.new/skip/freebsd/skip_os.h Mon Jan 24 16:14:32 2000
+++ work.new/skip/freebsd/skip_os.h Tue Feb 1 10:02:28 2000
@@ -51,10 +51,9 @@
/*
* FreeBSD