summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2011-02-17 13:50:24 +0000
committerAlexis Ballier <aballier@gentoo.org>2011-02-17 13:50:24 +0000
commit2398164d899ca09ffee612c8eb4a4b3be7d78a8a (patch)
tree7df5c867f2c209222fe054bf70dcc4454c2157ea /app-text/xpdf/xpdf-3.02-r4.ebuild
parentAdd a patch from debian to fix vpe invocation wrt its shebang, part of bug #2... (diff)
downloadhistorical-2398164d899ca09ffee612c8eb4a4b3be7d78a8a.tar.gz
historical-2398164d899ca09ffee612c8eb4a4b3be7d78a8a.tar.bz2
historical-2398164d899ca09ffee612c8eb4a4b3be7d78a8a.zip
fix build with poppler 0.16, bug #349942
Package-Manager: portage-2.2.0_alpha24/cvs/Linux x86_64
Diffstat (limited to 'app-text/xpdf/xpdf-3.02-r4.ebuild')
-rw-r--r--app-text/xpdf/xpdf-3.02-r4.ebuild9
1 files changed, 6 insertions, 3 deletions
diff --git a/app-text/xpdf/xpdf-3.02-r4.ebuild b/app-text/xpdf/xpdf-3.02-r4.ebuild
index bcac04a7daba..3b4de810184b 100644
--- a/app-text/xpdf/xpdf-3.02-r4.ebuild
+++ b/app-text/xpdf/xpdf-3.02-r4.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/xpdf/xpdf-3.02-r4.ebuild,v 1.8 2010/10/10 17:37:19 ulm Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/xpdf/xpdf-3.02-r4.ebuild,v 1.9 2011/02/17 13:50:24 aballier Exp $
EAPI=2
-inherit fdo-mime gnome2 eutils flag-o-matic
+inherit fdo-mime gnome2 eutils flag-o-matic toolchain-funcs
DESCRIPTION="An X Viewer for PDF Files"
HOMEPAGE="http://www.foolabs.com/xpdf/"
@@ -43,6 +43,8 @@ src_prepare() {
export EPATCH_SOURCE="${PATCHDIR}"
epatch
use nodrm && epatch "${PATCHDIR}/xpdf-3.02-poppler-nodrm.patch"
+ has_version '>=app-text/poppler-0.16' && epatch "${FILESDIR}/${P}-poppler-0.16.patch"
+ mv parseargs.c parseargs.cc
}
src_configure() {
@@ -50,6 +52,7 @@ src_configure() {
}
src_compile() {
+ tc-export CXX
emake || die
}