mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
sci-physics/thepeg: Fix building with GCC-6
Bug: https://bugs.gentoo.org/599564 Package-Manager: Portage-2.3.10, Repoman-2.3.3
This commit is contained in:
committed by
Guilherme Amadio
parent
b0833ccd98
commit
ec1223124a
14
sci-physics/thepeg/files/thepeg-2.0.4-gcc6.patch
Normal file
14
sci-physics/thepeg/files/thepeg-2.0.4-gcc6.patch
Normal file
@@ -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
|
||||
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user