diff options
author | joerg <joerg> | 2013-02-26 10:59:44 +0000 |
---|---|---|
committer | joerg <joerg> | 2013-02-26 10:59:44 +0000 |
commit | b29cea23390fb5df35baa5c1d6341faa68557879 (patch) | |
tree | c87f469e2928a22735d4fdc021c799b5e1c58c2d /wm | |
parent | 465d149a61abf2ab0ecbaf8065be1d75e9c23ecc (diff) | |
download | pkgsrc-b29cea23390fb5df35baa5c1d6341faa68557879.tar.gz |
Implicit int is not valid C++.
Diffstat (limited to 'wm')
-rw-r--r-- | wm/flwm/distinfo | 3 | ||||
-rw-r--r-- | wm/flwm/patches/patch-configure | 22 |
2 files changed, 24 insertions, 1 deletions
diff --git a/wm/flwm/distinfo b/wm/flwm/distinfo index 9b5b70981c0..4668a3d9b92 100644 --- a/wm/flwm/distinfo +++ b/wm/flwm/distinfo @@ -1,7 +1,8 @@ -$NetBSD: distinfo,v 1.6 2009/07/07 20:04:17 joerg Exp $ +$NetBSD: distinfo,v 1.7 2013/02/26 10:59:44 joerg Exp $ SHA1 (flwm-1.02.tgz) = bd348fa8a1c65b2318bf59e15cba0dcd511b3134 RMD160 (flwm-1.02.tgz) = 634af3b1882f1753fd82d54e09f2484c9aadad68 Size (flwm-1.02.tgz) = 64142 bytes SHA1 (patch-aa) = f71ebceef3d4f39963113fbf32d3efddcf489c8f SHA1 (patch-ab) = 22cf873b56d36675c86fac3059490ed717ebed12 +SHA1 (patch-configure) = 34e598c3198604cd00275c8cc04a3b9bb7b28f4e diff --git a/wm/flwm/patches/patch-configure b/wm/flwm/patches/patch-configure new file mode 100644 index 00000000000..a58ff6a9511 --- /dev/null +++ b/wm/flwm/patches/patch-configure @@ -0,0 +1,22 @@ +$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 |