summaryrefslogtreecommitdiff
path: root/audio/mp3info
diff options
context:
space:
mode:
authordholland <dholland@pkgsrc.org>2011-09-04 23:41:52 +0000
committerdholland <dholland@pkgsrc.org>2011-09-04 23:41:52 +0000
commitdf9c4b7c02d731da5e6c0948196b6c8b338870ba (patch)
treee4e95c35e6d2271afa5ae7117a2e96dddc75021f /audio/mp3info
parent0221a51fe4ef4e0db220fe6ed31eda7cbbc3519a (diff)
downloadpkgsrc-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/mp3info')
-rw-r--r--audio/mp3info/distinfo3
-rw-r--r--audio/mp3info/patches/patch-configure15
2 files changed, 17 insertions, 1 deletions
diff --git a/audio/mp3info/distinfo b/audio/mp3info/distinfo
index 2d444028728..46487adbe3b 100644
--- a/audio/mp3info/distinfo
+++ b/audio/mp3info/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.4 2005/02/23 20:39:49 agc Exp $
+$NetBSD: distinfo,v 1.5 2011/09/04 23:41:52 dholland Exp $
SHA1 (mp3info-0.2.16.tar.gz) = b4cb7feb0b2c52ce1c2a23b919f4ab3c3012b11f
RMD160 (mp3info-0.2.16.tar.gz) = 61810736aff11e1e241d78f572acd4890f795851
Size (mp3info-0.2.16.tar.gz) = 42950 bytes
SHA1 (patch-aa) = 4b036972514390c517eed0d1a86acf871c7d2730
+SHA1 (patch-configure) = 995088079b05571d545eae85e0d22a574799b3b0
diff --git a/audio/mp3info/patches/patch-configure b/audio/mp3info/patches/patch-configure
new file mode 100644
index 00000000000..cbfa362ba12
--- /dev/null
+++ b/audio/mp3info/patches/patch-configure
@@ -0,0 +1,15 @@
+$NetBSD: patch-configure,v 1.1 2011/09/04 23:41:52 dholland Exp $
+
+Fix test program; implicit int return type is not valid in C++.
+
+--- configure~ 1999-03-19 21:04:21.000000000 +0000
++++ configure
+@@ -818,7 +818,7 @@ cross_compiling=$ac_cv_prog_cxx_cross
+ cat > conftest.$ac_ext <<EOF
+ #line 820 "configure"
+ #include "confdefs.h"
+-main(){return(0);}
++int main(){return(0);}
+ EOF
+ if { (eval echo configure:824: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+ ac_cv_prog_cxx_works=yes