1 |
commit: 77cd5f492a4ea2128257b79cfe3fbe9c9a60faaf |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Sep 30 18:43:14 2017 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Sep 30 18:44:59 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=77cd5f49 |
7 |
|
8 |
dev-tex/luatex: Fix build with app-text/poppler-0.57 |
9 |
|
10 |
Gentoo-bug: 627538 |
11 |
Package-Manager: Portage-2.3.10, Repoman-2.3.3 |
12 |
|
13 |
dev-tex/luatex/luatex-0.70.1-r2.ebuild | 3 ++- |
14 |
dev-tex/luatex/luatex-0.76.0.ebuild | 3 ++- |
15 |
2 files changed, 4 insertions(+), 2 deletions(-) |
16 |
|
17 |
diff --git a/dev-tex/luatex/luatex-0.70.1-r2.ebuild b/dev-tex/luatex/luatex-0.70.1-r2.ebuild |
18 |
index cc095fa9c12..25e6fa0dc26 100644 |
19 |
--- a/dev-tex/luatex/luatex-0.70.1-r2.ebuild |
20 |
+++ b/dev-tex/luatex/luatex-0.70.1-r2.ebuild |
21 |
@@ -3,7 +3,7 @@ |
22 |
|
23 |
EAPI=5 |
24 |
|
25 |
-inherit libtool eutils texlive-common |
26 |
+inherit libtool eutils flag-o-matic texlive-common |
27 |
|
28 |
DESCRIPTION="An extended version of pdfTeX using Lua as an embedded scripting language" |
29 |
HOMEPAGE="http://www.luatex.org/" |
30 |
@@ -33,6 +33,7 @@ src_prepare() { |
31 |
has_version '>=app-text/poppler-0.20.0:0' && epatch "${FILESDIR}/poppler020.patch" |
32 |
has_version '>=app-text/poppler-0.22.0:0' && epatch "${FILESDIR}/poppler022.patch" |
33 |
has_version '>=app-text/poppler-0.26.0:0' && epatch "${FILESDIR}/poppler026-backport.patch" |
34 |
+ has_version '>=app-text/poppler-0.57.0:0' && append-cxxflags -std=c++11 # bug 627538 |
35 |
epatch "${FILESDIR}/kpathsea2012.patch" \ |
36 |
"${FILESDIR}/remove-zlib-version-check.patch" |
37 |
S="${S}/build-aux" elibtoolize --shallow |
38 |
|
39 |
diff --git a/dev-tex/luatex/luatex-0.76.0.ebuild b/dev-tex/luatex/luatex-0.76.0.ebuild |
40 |
index dabcf211276..a49a9f40bba 100644 |
41 |
--- a/dev-tex/luatex/luatex-0.76.0.ebuild |
42 |
+++ b/dev-tex/luatex/luatex-0.76.0.ebuild |
43 |
@@ -3,7 +3,7 @@ |
44 |
|
45 |
EAPI=5 |
46 |
|
47 |
-inherit libtool eutils texlive-common |
48 |
+inherit libtool eutils flag-o-matic texlive-common |
49 |
|
50 |
MY_P=${PN}-beta-${PV} |
51 |
DESCRIPTION="An extended version of pdfTeX using Lua as an embedded scripting language" |
52 |
@@ -31,6 +31,7 @@ S="${WORKDIR}/${MY_P}/source" |
53 |
|
54 |
src_prepare() { |
55 |
has_version '>=app-text/poppler-0.26.0:0' && epatch "${FILESDIR}/poppler026.patch" |
56 |
+ has_version '>=app-text/poppler-0.57.0:0' && append-cxxflags -std=c++11 # bug 627538 |
57 |
epatch "${FILESDIR}/remove-zlib-version-check.patch" \ |
58 |
"${FILESDIR}/includes.patch" |
59 |
S="${S}/build-aux" elibtoolize --shallow |