summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2017-09-30 20:43:14 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2017-09-30 20:44:59 +0200
commit77cd5f492a4ea2128257b79cfe3fbe9c9a60faaf (patch)
tree7eb4ec1f7acdfe6bf75d3a1577c1066cd4fc33eb /dev-tex
parentapp-text/pdf2djvu: Fix build with app-text/poppler-0.57 (diff)
downloadgentoo-77cd5f492a4ea2128257b79cfe3fbe9c9a60faaf.tar.gz
gentoo-77cd5f492a4ea2128257b79cfe3fbe9c9a60faaf.tar.bz2
gentoo-77cd5f492a4ea2128257b79cfe3fbe9c9a60faaf.zip
dev-tex/luatex: Fix build with app-text/poppler-0.57
Gentoo-bug: 627538 Package-Manager: Portage-2.3.10, Repoman-2.3.3
Diffstat (limited to 'dev-tex')
-rw-r--r--dev-tex/luatex/luatex-0.70.1-r2.ebuild3
-rw-r--r--dev-tex/luatex/luatex-0.76.0.ebuild3
2 files changed, 4 insertions, 2 deletions
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