diff options
author | dholland <dholland@pkgsrc.org> | 2011-09-04 23:41:52 +0000 |
---|---|---|
committer | dholland <dholland@pkgsrc.org> | 2011-09-04 23:41:52 +0000 |
commit | df9c4b7c02d731da5e6c0948196b6c8b338870ba (patch) | |
tree | e4e95c35e6d2271afa5ae7117a2e96dddc75021f /audio/splay | |
parent | 0221a51fe4ef4e0db220fe6ed31eda7cbbc3519a (diff) | |
download | pkgsrc-df9c4b7c02d731da5e6c0948196b6c8b338870ba.tar.gz |
Implicit int return type is not valid in C++. (clang objects, and then
the whole configure script fails.)
Diffstat (limited to 'audio/splay')
-rw-r--r-- | audio/splay/distinfo | 3 | ||||
-rw-r--r-- | audio/splay/patches/patch-configure | 33 |
2 files changed, 35 insertions, 1 deletions
diff --git a/audio/splay/distinfo b/audio/splay/distinfo index 6c7a785af1b..d2a50935faf 100644 --- a/audio/splay/distinfo +++ b/audio/splay/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.7 2009/07/07 16:49:05 joerg Exp $ +$NetBSD: distinfo,v 1.8 2011/09/04 23:49:57 dholland Exp $ SHA1 (splay-0.8.2.tar.gz) = 25288afa1b52bf25be8f9c4ceb44325c50fa00c8 RMD160 (splay-0.8.2.tar.gz) = f1a99ad9e7e70f5e0000aede05966cc5a0b36ad3 @@ -12,3 +12,4 @@ SHA1 (patch-af) = dfe6c6fba890fb0b413b6b73a42904d3ca6b7d66 SHA1 (patch-ai) = 9ac8c7aa7a7d341585e57dec4ddba4e285db7b34 SHA1 (patch-aj) = 840793d18ed577dea15108a3c56d9a66e0a8e9e5 SHA1 (patch-ak) = dd0b54d9323102d92add8cc0e4b020c37b70b615 +SHA1 (patch-configure) = ae29732a586a19c7f85367391b19e5bf81c33e75 diff --git a/audio/splay/patches/patch-configure b/audio/splay/patches/patch-configure new file mode 100644 index 00000000000..ed78434a745 --- /dev/null +++ b/audio/splay/patches/patch-configure @@ -0,0 +1,33 @@ +$NetBSD: patch-configure,v 1.1 2011/09/04 23:49:57 dholland Exp $ + +Fix test programs; implicit int return type is not valid in C++. + +--- configure~ 1998-03-07 21:04:19.000000000 +0000 ++++ configure +@@ -856,7 +856,7 @@ cross_compiling=$ac_cv_prog_cc_cross + cat > conftest.$ac_ext <<EOF + #line 858 "configure" + #include "confdefs.h" +-main(){return(0);} ++int main(){return(0);} + EOF + if { (eval echo configure:862: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then + ac_cv_prog_cc_works=yes +@@ -982,7 +982,7 @@ cross_compiling=$ac_cv_prog_cxx_cross + cat > conftest.$ac_ext <<EOF + #line 984 "configure" + #include "confdefs.h" +-main(){return(0);} ++int main(){return(0);} + EOF + if { (eval echo configure:988: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then + ac_cv_prog_cxx_works=yes +@@ -1688,7 +1688,7 @@ else + cat > conftest.$ac_ext <<EOF + #line 1690 "configure" + #include "confdefs.h" +-main () { ++int main () { + /* Are we little or big endian? From Harbison&Steele. */ + union + { |