From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 7CAE51384B4 for ; Thu, 31 Dec 2015 12:55:11 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F1C8021C002; Thu, 31 Dec 2015 12:55:10 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9AC7B21C002 for ; Thu, 31 Dec 2015 12:55:10 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A18D633BF0B for ; Thu, 31 Dec 2015 12:55:09 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 68D9DC89 for ; Thu, 31 Dec 2015 12:55:06 +0000 (UTC) From: "Justin Lecher" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Justin Lecher" Message-ID: <1451566503.b71be70a5e0eee017fc3ba5d3a9952bc55c1b1c7.jlec@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/cifparse-obj/files/, sci-libs/cifparse-obj/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-libs/cifparse-obj/cifparse-obj-7.025-r1.ebuild sci-libs/cifparse-obj/files/cifparse-obj-7.025-gcc5.patch X-VCS-Directories: sci-libs/cifparse-obj/files/ sci-libs/cifparse-obj/ X-VCS-Committer: jlec X-VCS-Committer-Name: Justin Lecher X-VCS-Revision: b71be70a5e0eee017fc3ba5d3a9952bc55c1b1c7 X-VCS-Branch: master Date: Thu, 31 Dec 2015 12:55:06 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 60139315-f12f-4083-9d9f-8a9c29f31d8b X-Archives-Hash: e81c05e8634ceb7c6fce47ab8e222b1d commit: b71be70a5e0eee017fc3ba5d3a9952bc55c1b1c7 Author: Justin Lecher gentoo org> AuthorDate: Thu Dec 31 12:42:16 2015 +0000 Commit: Justin Lecher gentoo org> CommitDate: Thu Dec 31 12:55:03 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b71be70a sci-libs/cifparse-obj: Add gcc5 support Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=570254 Package-Manager: portage-2.2.26 Signed-off-by: Justin Lecher gentoo.org> sci-libs/cifparse-obj/cifparse-obj-7.025-r1.ebuild | 3 ++- .../cifparse-obj/files/cifparse-obj-7.025-gcc5.patch | 16 ++++++++++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/sci-libs/cifparse-obj/cifparse-obj-7.025-r1.ebuild b/sci-libs/cifparse-obj/cifparse-obj-7.025-r1.ebuild index be87825..a30d3b4 100644 --- a/sci-libs/cifparse-obj/cifparse-obj-7.025-r1.ebuild +++ b/sci-libs/cifparse-obj/cifparse-obj-7.025-r1.ebuild @@ -28,7 +28,8 @@ src_prepare() { epatch \ "${FILESDIR}"/${P}-makefile.patch \ "${FILESDIR}"/${P}-gcc4.3.patch \ - "${FILESDIR}"/${P}-gcc4.7.patch + "${FILESDIR}"/${P}-gcc4.7.patch \ + "${FILESDIR}"/${P}-gcc5.patch sed \ -e "s:^\(CC=\).*:\1$(tc-getCC):g" \ diff --git a/sci-libs/cifparse-obj/files/cifparse-obj-7.025-gcc5.patch b/sci-libs/cifparse-obj/files/cifparse-obj-7.025-gcc5.patch new file mode 100644 index 0000000..6b2f797 --- /dev/null +++ b/sci-libs/cifparse-obj/files/cifparse-obj-7.025-gcc5.patch @@ -0,0 +1,16 @@ + etc/platform.sh | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/etc/platform.sh b/etc/platform.sh +index ff0ab51..1b56ab1 100755 +--- a/etc/platform.sh ++++ b/etc/platform.sh +@@ -60,7 +60,7 @@ case `uname -s` in + # Check if it is a Linux platform + Linux) + # Check if it is GCC version 4.x +- gcc_ver=`gcc --version | grep -e " 4\."` ++ gcc_ver=`gcc --version | grep -e " [45]\."` + if [[ -z $gcc_ver ]] + then + # It is not GCC version 4.x. Check if it is GCC version 3.x