breaks the build of linux_ioctl.c because it contains Linux header contents. Since we do not depend on stdargs, add a define to replace __builtin_va_list with int when running the Linux compiler to generate linux_ioctl.c. This fixes the port on FreeBSD 4.
11 lines
321 B
Text
11 lines
321 B
Text
--- mkioctls.linux.orig Sat Feb 21 15:35:48 2004
|
|
+++ mkioctls.linux Sat Feb 21 15:34:41 2004
|
|
@@ -4,7 +4,7 @@
|
|
TMP2FILE=/tmp/$$b.c
|
|
OUTFILE=linux_ioctl.c
|
|
|
|
-CPP="/compat/linux/usr/bin/gcc -E"
|
|
+CPP="/compat/linux/usr/bin/gcc -E -D__builtin_va_list=int"
|
|
|
|
(echo "#include <sys/ioctl.h>"
|
|
echo "#include <sys/soundcard.h>"
|