summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2017-09-30 20:01:01 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2017-09-30 20:44:59 +0200
commit2621815419bebb7633efdadfc10cfb25f4a7ebf6 (patch)
tree3ce246c23319a6f9be36d92561323d544bffb3ba /app-text/pdf2djvu
parentmedia-plugins/evas_generic_loaders: Fix build with app-text/poppler-0.57 (diff)
downloadgentoo-2621815419bebb7633efdadfc10cfb25f4a7ebf6.tar.gz
gentoo-2621815419bebb7633efdadfc10cfb25f4a7ebf6.tar.bz2
gentoo-2621815419bebb7633efdadfc10cfb25f4a7ebf6.zip
app-text/pdf2djvu: Fix build with app-text/poppler-0.57
Gentoo-bug: 626874 Package-Manager: Portage-2.3.10, Repoman-2.3.3
Diffstat (limited to 'app-text/pdf2djvu')
-rw-r--r--app-text/pdf2djvu/pdf2djvu-0.9.4.ebuild8
1 files changed, 7 insertions, 1 deletions
diff --git a/app-text/pdf2djvu/pdf2djvu-0.9.4.ebuild b/app-text/pdf2djvu/pdf2djvu-0.9.4.ebuild
index af5fbd00e708..d046e0746aa2 100644
--- a/app-text/pdf2djvu/pdf2djvu-0.9.4.ebuild
+++ b/app-text/pdf2djvu/pdf2djvu-0.9.4.ebuild
@@ -5,7 +5,7 @@ EAPI=5
PYTHON_COMPAT=( python2_7 )
-inherit python-any-r1 toolchain-funcs
+inherit python-any-r1 toolchain-funcs flag-o-matic
DESCRIPTION="A tool to create DjVu files from PDF files"
HOMEPAGE="http://jwilk.net/software/pdf2djvu"
@@ -39,6 +39,12 @@ pkg_setup() {
use test && python-any-r1_pkg_setup
}
+src_prepare() {
+ # bug 626874, poppler headers require C++11
+ append-cxxflags -std=c++11
+ default
+}
+
src_configure() {
local openmp=--disable-openmp
use openmp && tc-has-openmp && openmp=--enable-openmp