diff options
author | Marcel Moolenaar <marcel@FreeBSD.org> | 2004-02-21 23:46:43 +0000 |
---|---|---|
committer | Marcel Moolenaar <marcel@FreeBSD.org> | 2004-02-21 23:46:43 +0000 |
commit | b84a143480fe65291903f451cefac6e2a51c2c56 (patch) | |
tree | 96f769e1bb9fec92cb8d7a4498cd62b1be606ce3 /devel/linux_kdump/files/patch-mkioctls.linux | |
parent | Try to fix MASTER_SITES. (diff) |
On FreeBSD 4, gcc(1) does not have the __builtin_va_list type, which
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.
Notes
Notes:
svn path=/head/; revision=101627
Diffstat (limited to 'devel/linux_kdump/files/patch-mkioctls.linux')
-rw-r--r-- | devel/linux_kdump/files/patch-mkioctls.linux | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/linux_kdump/files/patch-mkioctls.linux b/devel/linux_kdump/files/patch-mkioctls.linux new file mode 100644 index 000000000000..ed405733472f --- /dev/null +++ b/devel/linux_kdump/files/patch-mkioctls.linux @@ -0,0 +1,11 @@ +--- 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>" |