pkgsrc-ng/wm/flwm/patches/patch-configure
2013-09-26 17:14:40 +02:00

23 lines
757 B
Plaintext

$NetBSD: patch-configure,v 1.1 2013/02/26 10:59:44 joerg Exp $
--- configure.orig 2000-01-05 10:14:02.000000000 +0000
+++ configure
@@ -612,7 +612,7 @@ cross_compiling=$ac_cv_prog_cc_cross
cat > conftest.$ac_ext <<EOF
#line 614 "configure"
#include "confdefs.h"
-main(){return(0);}
+int main(){return(0);}
EOF
if { (eval echo configure:618: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
ac_cv_prog_cc_works=yes
@@ -738,7 +738,7 @@ cross_compiling=$ac_cv_prog_cxx_cross
cat > conftest.$ac_ext <<EOF
#line 740 "configure"
#include "confdefs.h"
-main(){return(0);}
+int main(){return(0);}
EOF
if { (eval echo configure:744: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
ac_cv_prog_cxx_works=yes