diff options
author | joerg <joerg@pkgsrc.org> | 2012-07-03 18:16:35 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2012-07-03 18:16:35 +0000 |
commit | 552565fc02482ba5278c0491e7a562f93586358f (patch) | |
tree | 447c2cb473436b598d6a7c5192643ca6dd2cd350 | |
parent | 186ff57c37b4b5cb330ea59b40665352d88a33bf (diff) | |
download | pkgsrc-552565fc02482ba5278c0491e7a562f93586358f.tar.gz |
Implicit int as return type is invalid in C++
-rw-r--r-- | devel/argtable/distinfo | 3 | ||||
-rw-r--r-- | devel/argtable/patches/patch-configure | 13 |
2 files changed, 15 insertions, 1 deletions
diff --git a/devel/argtable/distinfo b/devel/argtable/distinfo index b11c5a6e621..5da90fc1cb6 100644 --- a/devel/argtable/distinfo +++ b/devel/argtable/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.3 2005/02/23 22:24:09 agc Exp $ +$NetBSD: distinfo,v 1.4 2012/07/03 18:16:35 joerg Exp $ SHA1 (argtable-1.2.tar.gz) = 2750b4334471dfecf6f83e9889a6daec0900e516 RMD160 (argtable-1.2.tar.gz) = 7b6728ab1f85e49797b7a4c8dc58f56c00ed553e Size (argtable-1.2.tar.gz) = 509716 bytes SHA1 (patch-aa) = bca5920fbb9b88d5d9bda6d5d393ab7c4cd9d31f +SHA1 (patch-configure) = d1221b12c061daf88dfba33c34b38811698756eb diff --git a/devel/argtable/patches/patch-configure b/devel/argtable/patches/patch-configure new file mode 100644 index 00000000000..86fa276547d --- /dev/null +++ b/devel/argtable/patches/patch-configure @@ -0,0 +1,13 @@ +$NetBSD: patch-configure,v 1.1 2012/07/03 18:16:35 joerg Exp $ + +--- configure.orig 2012-07-03 10:24:16.000000000 +0000 ++++ configure +@@ -766,7 +766,7 @@ cross_compiling=$ac_cv_prog_cxx_cross + cat > conftest.$ac_ext <<EOF + #line 768 "configure" + #include "confdefs.h" +-main(){return(0);} ++int main(){return(0);} + EOF + if { (eval echo configure:772: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then + ac_cv_prog_cxx_works=yes |