diff options
author | David Seifert <soap@gentoo.org> | 2016-09-20 22:02:28 +0200 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2016-09-20 23:06:17 +0200 |
commit | f3ba92a3877165fd3e436097b41b3c776f83bbb3 (patch) | |
tree | fd95038830d7e762b9094bb2e851f0bbb9801771 /sci-chemistry/reduce/reduce-3.16.111118.ebuild | |
parent | sci-libs/libgenome: Remove broken live ebuild (diff) | |
download | gentoo-f3ba92a3877165fd3e436097b41b3c776f83bbb3.tar.gz gentoo-f3ba92a3877165fd3e436097b41b3c776f83bbb3.tar.bz2 gentoo-f3ba92a3877165fd3e436097b41b3c776f83bbb3.zip |
sci-chemistry/reduce: Allow for compiling with GCC 6
Gentoo-bug: 594202
* EAPI=6
* Make PATCHES -p1 compliant
Package-Manager: portage-2.3.1
Diffstat (limited to 'sci-chemistry/reduce/reduce-3.16.111118.ebuild')
-rw-r--r-- | sci-chemistry/reduce/reduce-3.16.111118.ebuild | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/sci-chemistry/reduce/reduce-3.16.111118.ebuild b/sci-chemistry/reduce/reduce-3.16.111118.ebuild index 6871341758b8..aba49a926d30 100644 --- a/sci-chemistry/reduce/reduce-3.16.111118.ebuild +++ b/sci-chemistry/reduce/reduce-3.16.111118.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2012 Gentoo Foundation +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ -EAPI=4 +EAPI=6 -inherit eutils toolchain-funcs +inherit toolchain-funcs MY_P="${PN}.${PV}.src" @@ -22,12 +22,11 @@ DEPEND="${RDEPEND} app-arch/unzip" S="${WORKDIR}/" - -src_prepare() { - epatch \ - "${FILESDIR}"/3.13.080428-LDFLAGS.patch \ - "${FILESDIR}"/3.14.080821-CFLAGS.patch -} +PATCHES=( + "${FILESDIR}"/3.13.080428-LDFLAGS.patch + "${FILESDIR}"/3.14.080821-CFLAGS.patch + "${FILESDIR}"/${PN}-3.16.111118-fix-c++14.patch +) src_compile() { DICT_DIR="/usr/share/reduce" |