freebsd-ports/shells/bash1/files/patch-support-mksysdefs
David E. O'Brien 47846ba268 Fix build on -current (varargs -> stdarg)
[don't propagate the poorly named patch files from the PR]

PR:		56146
Submitted by:	Michael Edenfield <kutulu@kutulu.org>
2003-08-31 08:08:47 +00:00

14 lines
430 B
Text

--- support/mksysdefs.orig Fri Aug 29 11:26:47 2003
+++ support/mksysdefs Fri Aug 29 11:27:59 2003
@@ -415,7 +415,10 @@
echo "#endif /* HAVE_STRING_H */" >>$sysdefs
fi
-file=varargs.h
+# varargs.h and it's var args support is deprecated in GCC 3.3,
+# and has been obsolete for a while. Assume VARARGS means
+# STDARG elsewhere in the code.
+file=stdarg.h
eval $findf
if [ -n "$found" ]; then
echo "" >>$sysdefs