Massage an unportable autoconf test so it won't erroneously fail on alpha;
fixes crashes on alpha down the road.
This commit is contained in:
parent
64341b9273
commit
b8d92ab119
@ -1,9 +1,10 @@
|
|||||||
# $OpenBSD: Makefile,v 1.56 2006/10/25 16:27:04 mbalmer Exp $
|
# $OpenBSD: Makefile,v 1.57 2006/10/31 18:01:01 naddy Exp $
|
||||||
|
|
||||||
COMMENT= "multi-screen window manager"
|
COMMENT= "multi-screen window manager"
|
||||||
|
|
||||||
VERSION= 4.0.3
|
VERSION= 4.0.3
|
||||||
DISTNAME= screen-${VERSION}
|
DISTNAME= screen-${VERSION}
|
||||||
|
PKGNAME= ${DISTNAME}p0
|
||||||
CATEGORIES= misc
|
CATEGORIES= misc
|
||||||
MASTER_SITES= ftp://ftp.uni-erlangen.de/pub/utilities/screen/
|
MASTER_SITES= ftp://ftp.uni-erlangen.de/pub/utilities/screen/
|
||||||
|
|
||||||
|
17
misc/screen/patches/patch-configure
Normal file
17
misc/screen/patches/patch-configure
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
$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;
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user