1 |
commit: b834d7a8d37c30d0cc84508b42f2f3fcd3b31682 |
2 |
Author: Fabian Groffen <grobian <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jun 27 13:00:46 2017 +0000 |
4 |
Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jun 27 13:00:58 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b834d7a8 |
7 |
|
8 |
app-text/poppler: fix build on Darwin, thanks Hermann Gundel in bug #622526 |
9 |
|
10 |
Package-Manager: Portage-2.3.6, Repoman-2.3.1 |
11 |
|
12 |
app-text/poppler/poppler-0.56.0.ebuild | 5 +++++ |
13 |
1 file changed, 5 insertions(+) |
14 |
|
15 |
diff --git a/app-text/poppler/poppler-0.56.0.ebuild b/app-text/poppler/poppler-0.56.0.ebuild |
16 |
index 088e5a72c43..1216746a460 100644 |
17 |
--- a/app-text/poppler/poppler-0.56.0.ebuild |
18 |
+++ b/app-text/poppler/poppler-0.56.0.ebuild |
19 |
@@ -82,6 +82,11 @@ src_prepare() { |
20 |
else |
21 |
einfo "policy(SET CMP0002 OLD) - workaround can be removed" |
22 |
fi |
23 |
+ |
24 |
+ if tc-is-clang && [[ ${CHOST} == *-darwin* ]] ; then |
25 |
+ # we need to up the C++ version, bug #622526 |
26 |
+ export CXX="$(tc-getCXX) -std=c++0x" |
27 |
+ fi |
28 |
} |
29 |
|
30 |
src_configure() { |