From 77cd5f492a4ea2128257b79cfe3fbe9c9a60faaf Mon Sep 17 00:00:00 2001 From: Andreas Sturmlechner Date: Sat, 30 Sep 2017 20:43:14 +0200 Subject: dev-tex/luatex: Fix build with app-text/poppler-0.57 Gentoo-bug: 627538 Package-Manager: Portage-2.3.10, Repoman-2.3.3 --- dev-tex/luatex/luatex-0.70.1-r2.ebuild | 3 ++- dev-tex/luatex/luatex-0.76.0.ebuild | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'dev-tex') diff --git a/dev-tex/luatex/luatex-0.70.1-r2.ebuild b/dev-tex/luatex/luatex-0.70.1-r2.ebuild index cc095fa9c120..25e6fa0dc263 100644 --- a/dev-tex/luatex/luatex-0.70.1-r2.ebuild +++ b/dev-tex/luatex/luatex-0.70.1-r2.ebuild @@ -3,7 +3,7 @@ EAPI=5 -inherit libtool eutils texlive-common +inherit libtool eutils flag-o-matic texlive-common DESCRIPTION="An extended version of pdfTeX using Lua as an embedded scripting language" HOMEPAGE="http://www.luatex.org/" @@ -33,6 +33,7 @@ src_prepare() { has_version '>=app-text/poppler-0.20.0:0' && epatch "${FILESDIR}/poppler020.patch" has_version '>=app-text/poppler-0.22.0:0' && epatch "${FILESDIR}/poppler022.patch" has_version '>=app-text/poppler-0.26.0:0' && epatch "${FILESDIR}/poppler026-backport.patch" + has_version '>=app-text/poppler-0.57.0:0' && append-cxxflags -std=c++11 # bug 627538 epatch "${FILESDIR}/kpathsea2012.patch" \ "${FILESDIR}/remove-zlib-version-check.patch" S="${S}/build-aux" elibtoolize --shallow diff --git a/dev-tex/luatex/luatex-0.76.0.ebuild b/dev-tex/luatex/luatex-0.76.0.ebuild index dabcf2112764..a49a9f40bbaa 100644 --- a/dev-tex/luatex/luatex-0.76.0.ebuild +++ b/dev-tex/luatex/luatex-0.76.0.ebuild @@ -3,7 +3,7 @@ EAPI=5 -inherit libtool eutils texlive-common +inherit libtool eutils flag-o-matic texlive-common MY_P=${PN}-beta-${PV} DESCRIPTION="An extended version of pdfTeX using Lua as an embedded scripting language" @@ -31,6 +31,7 @@ S="${WORKDIR}/${MY_P}/source" src_prepare() { has_version '>=app-text/poppler-0.26.0:0' && epatch "${FILESDIR}/poppler026.patch" + has_version '>=app-text/poppler-0.57.0:0' && append-cxxflags -std=c++11 # bug 627538 epatch "${FILESDIR}/remove-zlib-version-check.patch" \ "${FILESDIR}/includes.patch" S="${S}/build-aux" elibtoolize --shallow -- cgit v1.2.3-65-gdbad