summaryrefslogtreecommitdiff
path: root/games/abuse/patches
diff options
context:
space:
mode:
Diffstat (limited to 'games/abuse/patches')
-rw-r--r--games/abuse/patches/patch-abuse_configure13
-rw-r--r--games/abuse/patches/patch-imlib_configure13
2 files changed, 26 insertions, 0 deletions
diff --git a/games/abuse/patches/patch-abuse_configure b/games/abuse/patches/patch-abuse_configure
new file mode 100644
index 00000000000..bc826b634f1
--- /dev/null
+++ b/games/abuse/patches/patch-abuse_configure
@@ -0,0 +1,13 @@
+$NetBSD: patch-abuse_configure,v 1.1 2012/05/04 16:12:30 joerg Exp $
+
+--- abuse/configure.orig 2012-05-04 14:21:54.000000000 +0000
++++ abuse/configure
+@@ -1036,7 +1036,7 @@ cross_compiling=$ac_cv_prog_cxx_cross
+ cat > conftest.$ac_ext <<EOF
+ #line 1038 "configure"
+ #include "confdefs.h"
+-main(){return(0);}
++int main(){return(0);}
+ EOF
+ if { (eval echo configure:1042: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+ ac_cv_prog_cxx_works=yes
diff --git a/games/abuse/patches/patch-imlib_configure b/games/abuse/patches/patch-imlib_configure
new file mode 100644
index 00000000000..dcb83a4189b
--- /dev/null
+++ b/games/abuse/patches/patch-imlib_configure
@@ -0,0 +1,13 @@
+$NetBSD: patch-imlib_configure,v 1.1 2012/05/04 16:12:30 joerg Exp $
+
+--- imlib/configure.orig 2012-05-04 14:23:56.000000000 +0000
++++ imlib/configure
+@@ -1036,7 +1036,7 @@ cross_compiling=$ac_cv_prog_cxx_cross
+ cat > conftest.$ac_ext <<EOF
+ #line 1038 "configure"
+ #include "confdefs.h"
+-main(){return(0);}
++int main(){return(0);}
+ EOF
+ if { (eval echo configure:1042: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+ ac_cv_prog_cxx_works=yes