diff options
Diffstat (limited to 'x11/libdnd/files/patch-configure')
-rw-r--r-- | x11/libdnd/files/patch-configure | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/x11/libdnd/files/patch-configure b/x11/libdnd/files/patch-configure new file mode 100644 index 000000000000..e7edc649095c --- /dev/null +++ b/x11/libdnd/files/patch-configure @@ -0,0 +1,20 @@ +--- configure.orig 1997-05-24 09:28:20.000000000 +0200 ++++ configure 2011-09-12 22:35:36.000000000 +0200 +@@ -612,7 +612,7 @@ + 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 @@ + 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 |