From b84a143480fe65291903f451cefac6e2a51c2c56 Mon Sep 17 00:00:00 2001 From: Marcel Moolenaar Date: Sat, 21 Feb 2004 23:46:43 +0000 Subject: 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. --- devel/linux_kdump/files/patch-mkioctls.linux | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 devel/linux_kdump/files/patch-mkioctls.linux (limited to 'devel/linux_kdump/files/patch-mkioctls.linux') 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 " + echo "#include " -- cgit v1.2.3