diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2017-09-30 20:01:01 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2017-09-30 20:44:59 +0200 |
commit | 2621815419bebb7633efdadfc10cfb25f4a7ebf6 (patch) | |
tree | 3ce246c23319a6f9be36d92561323d544bffb3ba /app-text/pdf2djvu | |
parent | media-plugins/evas_generic_loaders: Fix build with app-text/poppler-0.57 (diff) | |
download | gentoo-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.ebuild | 8 |
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 |