From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E32301396D9 for ; Mon, 16 Oct 2017 09:47:52 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 369002BC008; Mon, 16 Oct 2017 09:47:52 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 118782BC008 for ; Mon, 16 Oct 2017 09:47:51 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 201C133BEBE for ; Mon, 16 Oct 2017 09:47:51 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 77E2E313 for ; Mon, 16 Oct 2017 09:47:49 +0000 (UTC) From: "Guilherme Amadio" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Guilherme Amadio" Message-ID: <1508147094.ec1223124a8d0d3065019c40d69c7675b801a8fb.amadio@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-physics/thepeg/, sci-physics/thepeg/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-physics/thepeg/files/thepeg-2.0.4-gcc6.patch sci-physics/thepeg/thepeg-2.0.4.ebuild X-VCS-Directories: sci-physics/thepeg/files/ sci-physics/thepeg/ X-VCS-Committer: amadio X-VCS-Committer-Name: Guilherme Amadio X-VCS-Revision: ec1223124a8d0d3065019c40d69c7675b801a8fb X-VCS-Branch: master Date: Mon, 16 Oct 2017 09:47:49 +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: f700b149-6d23-4506-98f3-a16b1188b108 X-Archives-Hash: d526e2a01f41160e4789dd701ea175d8 commit: ec1223124a8d0d3065019c40d69c7675b801a8fb Author: Peter Levine gmail com> AuthorDate: Sun Oct 15 05:03:09 2017 +0000 Commit: Guilherme Amadio gentoo org> CommitDate: Mon Oct 16 09:44:54 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec122312 sci-physics/thepeg: Fix building with GCC-6 Bug: https://bugs.gentoo.org/599564 Package-Manager: Portage-2.3.10, Repoman-2.3.3 sci-physics/thepeg/files/thepeg-2.0.4-gcc6.patch | 14 ++++++++++++++ sci-physics/thepeg/thepeg-2.0.4.ebuild | 7 +++++-- 2 files changed, 19 insertions(+), 2 deletions(-) diff --git a/sci-physics/thepeg/files/thepeg-2.0.4-gcc6.patch b/sci-physics/thepeg/files/thepeg-2.0.4-gcc6.patch new file mode 100644 index 00000000000..ed3bdac7b54 --- /dev/null +++ b/sci-physics/thepeg/files/thepeg-2.0.4-gcc6.patch @@ -0,0 +1,14 @@ +Bug: https://bugs.gentoo.org/599564 + +--- a/Utilities/UnitIO.h ++++ b/Utilities/UnitIO.h +@@ -25,6 +25,9 @@ + + namespace ThePEG { + ++using std::isnan; ++using std::isinf; ++ + /** + * The OUnit< class is used to + * facilitate output of unitful numbers to a diff --git a/sci-physics/thepeg/thepeg-2.0.4.ebuild b/sci-physics/thepeg/thepeg-2.0.4.ebuild index 84e48567e16..6cea3900306 100644 --- a/sci-physics/thepeg/thepeg-2.0.4.ebuild +++ b/sci-physics/thepeg/thepeg-2.0.4.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -37,7 +37,10 @@ DEPEND="${RDEPEND} S="${WORKDIR}/${MY_P}" -PATCHES=( "${FILESDIR}"/${PN}-1.8.3-java.patch ) +PATCHES=( + "${FILESDIR}"/${PN}-1.8.3-java.patch + "${FILESDIR}"/${PN}-2.0.4-gcc6.patch +) src_prepare() { find -name 'Makefile.am' -exec \