openbsd-ports/misc/screen/patches/patch-configure
2006-10-31 18:01:01 +00:00

18 lines
373 B
Plaintext

$OpenBSD: patch-configure,v 1.1 2006/10/31 18:01:01 naddy Exp $
--- configure.orig Mon Oct 30 17:48:42 2006
+++ configure Mon Oct 30 17:49:09 2006
@@ -7186,10 +7186,12 @@ cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
+#include <stdarg.h>
int
main ()
{
-vsprintf(0,0,0);
+va_list ap;
+vsprintf(0,0,ap);
;
return 0;
}