1 |
commit: 2621815419bebb7633efdadfc10cfb25f4a7ebf6 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Sep 30 18:01:01 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=26218154 |
7 |
|
8 |
app-text/pdf2djvu: Fix build with app-text/poppler-0.57 |
9 |
|
10 |
Gentoo-bug: 626874 |
11 |
Package-Manager: Portage-2.3.10, Repoman-2.3.3 |
12 |
|
13 |
app-text/pdf2djvu/pdf2djvu-0.9.4.ebuild | 8 +++++++- |
14 |
1 file changed, 7 insertions(+), 1 deletion(-) |
15 |
|
16 |
diff --git a/app-text/pdf2djvu/pdf2djvu-0.9.4.ebuild b/app-text/pdf2djvu/pdf2djvu-0.9.4.ebuild |
17 |
index af5fbd00e70..d046e0746aa 100644 |
18 |
--- a/app-text/pdf2djvu/pdf2djvu-0.9.4.ebuild |
19 |
+++ b/app-text/pdf2djvu/pdf2djvu-0.9.4.ebuild |
20 |
@@ -5,7 +5,7 @@ EAPI=5 |
21 |
|
22 |
PYTHON_COMPAT=( python2_7 ) |
23 |
|
24 |
-inherit python-any-r1 toolchain-funcs |
25 |
+inherit python-any-r1 toolchain-funcs flag-o-matic |
26 |
|
27 |
DESCRIPTION="A tool to create DjVu files from PDF files" |
28 |
HOMEPAGE="http://jwilk.net/software/pdf2djvu" |
29 |
@@ -39,6 +39,12 @@ pkg_setup() { |
30 |
use test && python-any-r1_pkg_setup |
31 |
} |
32 |
|
33 |
+src_prepare() { |
34 |
+ # bug 626874, poppler headers require C++11 |
35 |
+ append-cxxflags -std=c++11 |
36 |
+ default |
37 |
+} |
38 |
+ |
39 |
src_configure() { |
40 |
local openmp=--disable-openmp |
41 |
use openmp && tc-has-openmp && openmp=--enable-openmp |