diff options
author | wiz <wiz@pkgsrc.org> | 2016-04-12 06:33:42 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2016-04-12 06:33:42 +0000 |
commit | 35fcf7c5671646820c9320446db5159d62f13699 (patch) | |
tree | db022b5e2bdb523b3c34c88aeabfb1323222018a /audio/ocp | |
parent | 3e62bb86a22841df3bd0337f28960a19dcaf9606 (diff) | |
download | pkgsrc-35fcf7c5671646820c9320446db5159d62f13699.tar.gz |
Allow building with gcc-5.
Diffstat (limited to 'audio/ocp')
-rw-r--r-- | audio/ocp/distinfo | 3 | ||||
-rw-r--r-- | audio/ocp/patches/patch-configure | 15 |
2 files changed, 17 insertions, 1 deletions
diff --git a/audio/ocp/distinfo b/audio/ocp/distinfo index e4166bedb19..4e10b4470dc 100644 --- a/audio/ocp/distinfo +++ b/audio/ocp/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.7 2015/11/03 01:12:44 agc Exp $ +$NetBSD: distinfo,v 1.8 2016/04/12 06:33:42 wiz Exp $ SHA1 (ocp-0.1.21.tar.bz2) = aaa16cf1979c572b09c73e7cc61350bfc4477380 RMD160 (ocp-0.1.21.tar.bz2) = 6b42e93e9fe5879e844b2d336825a2db156b7e6f @@ -9,5 +9,6 @@ SHA1 (patch-ac) = f28f3ebc5e3d61858f2f5bed79094fff57130da6 SHA1 (patch-ad) = 1a3e3aa02eeae905faebac7fc7fc27eb93fa0e46 SHA1 (patch-ae) = 00f5b6edaf0dcb2200f8e9f14ab6a8e1a9711f65 SHA1 (patch-af) = dbb7b2d1b7a5f35c14477725ad18e31b2af787b9 +SHA1 (patch-configure) = 521884c80ef507149afa75841a62c35a42739377 SHA1 (patch-playay_ayplay.c) = 565efad3e619743fd7260c2957152a0b116674c4 SHA1 (patch-playym_ympplay.cpp) = d0d5fd0126e30f5036f0267d17ae3524c9afcb34 diff --git a/audio/ocp/patches/patch-configure b/audio/ocp/patches/patch-configure new file mode 100644 index 00000000000..afe2544b2f6 --- /dev/null +++ b/audio/ocp/patches/patch-configure @@ -0,0 +1,15 @@ +$NetBSD: patch-configure,v 1.1 2016/04/12 06:33:43 wiz Exp $ + +Allow gcc-5.x. + +--- configure.orig 2011-11-17 21:46:08.000000000 +0000 ++++ configure +@@ -4589,7 +4589,7 @@ else + '') + as_fn_error $? "not found" "$LINENO" 5; + ;; +- 2.95.[2-9]|2.95.[2-9][-.]*|3.[0-9]|3.[0-9].[0-9]|3.[0-9]|3.[0-9].[0-9]-*|4.*) ++ 2.95.[2-9]|2.95.[2-9][-.]*|3.[0-9]|3.[0-9].[0-9]|3.[0-9]|3.[0-9].[0-9]-*|4.*|5.*) + _cc_major=`echo $cc_version | cut -d '.' -f 1` + _cc_minor=`echo $cc_version | cut -d '.' -f 2` + _cc_mini=`echo $cc_version | cut -d '.' -f 3` |