1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-03 06:04:53 +00:00

audio/ocp: Fix configure script to support gcc-5 (from upstream)

PR:		197813
Submitted by:	marino
Approved by:	maintainer (ehaupt)
This commit is contained in:
John Marino 2015-02-20 12:46:27 +00:00
parent 351da93ac7
commit 158294ac3c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=379422

View File

@ -0,0 +1,11 @@
--- configure.orig 2010-05-17 09:55:17 UTC
+++ configure
@@ -4511,7 +4511,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`