From: "Guilherme Amadio" <amadio@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-physics/thepeg/, sci-physics/thepeg/files/
Date: Mon, 16 Oct 2017 09:47:49 +0000 (UTC) [thread overview]
Message-ID: <1508147094.ec1223124a8d0d3065019c40d69c7675b801a8fb.amadio@gentoo> (raw)
commit: ec1223124a8d0d3065019c40d69c7675b801a8fb
Author: Peter Levine <plevine457 <AT> gmail <DOT> com>
AuthorDate: Sun Oct 15 05:03:09 2017 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> 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 \
next reply other threads:[~2017-10-16 9:47 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-16 9:47 Guilherme Amadio [this message]
-- strict thread matches above, loose matches on Subject: below --
2016-11-11 23:37 [gentoo-commits] repo/gentoo:master commit in: sci-physics/thepeg/, sci-physics/thepeg/files/ Andreas Hüttel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1508147094.ec1223124a8d0d3065019c40d69c7675b801a8fb.amadio@gentoo \
--to=amadio@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox