summaryrefslogtreecommitdiff
path: root/audio/ocp/patches/patch-configure
diff options
context:
space:
mode:
Diffstat (limited to 'audio/ocp/patches/patch-configure')
-rw-r--r--audio/ocp/patches/patch-configure15
1 files changed, 15 insertions, 0 deletions
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`