summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-tex/pdftex')
-rw-r--r--dev-tex/pdftex/ChangeLog6
-rw-r--r--dev-tex/pdftex/files/pdftex-1.40.9-poppler-0.11.patch16
-rw-r--r--dev-tex/pdftex/pdftex-1.40.9.ebuild3
3 files changed, 23 insertions, 2 deletions
diff --git a/dev-tex/pdftex/ChangeLog b/dev-tex/pdftex/ChangeLog
index cab10f1490ce..f8ae808a6f96 100644
--- a/dev-tex/pdftex/ChangeLog
+++ b/dev-tex/pdftex/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-tex/pdftex
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-tex/pdftex/ChangeLog,v 1.15 2009/03/30 01:32:20 loki_val Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-tex/pdftex/ChangeLog,v 1.16 2009/05/14 17:20:34 aballier Exp $
+
+ 14 May 2009; Alexis Ballier <aballier@gentoo.org> pdftex-1.40.9.ebuild,
+ +files/pdftex-1.40.9-poppler-0.11.patch:
+ fix build with latest poppler, bug #269545
30 Mar 2009; Peter Alfredsen <loki_val@gentoo.org> pdftex-1.40.9.ebuild:
Update dependencies w.r.t. bug 264230, fully-split-out poppler transition.
diff --git a/dev-tex/pdftex/files/pdftex-1.40.9-poppler-0.11.patch b/dev-tex/pdftex/files/pdftex-1.40.9-poppler-0.11.patch
new file mode 100644
index 000000000000..17d04f274802
--- /dev/null
+++ b/dev-tex/pdftex/files/pdftex-1.40.9-poppler-0.11.patch
@@ -0,0 +1,16 @@
+http://cgit.freedesktop.org/poppler/poppler/commit/?id=80f415176952635a485356cf36048eee53396c25
+https://bugs.gentoo.org/show_bug.cgi?id=269545
+
+Index: pdftex-1.40.9/src/texk/web2c/pdftexdir/pdftoepdf.cc
+===================================================================
+--- pdftex-1.40.9.orig/src/texk/web2c/pdftexdir/pdftoepdf.cc
++++ pdftex-1.40.9/src/texk/web2c/pdftexdir/pdftoepdf.cc
+@@ -645,7 +645,7 @@ static void writeEncodings()
+ }
+ for (r = encodingList; r != 0; r = n) {
+ n = r->next;
+- delete r->font;
++ r->font->decRefCnt();
+ delete r;
+ }
+ }
diff --git a/dev-tex/pdftex/pdftex-1.40.9.ebuild b/dev-tex/pdftex/pdftex-1.40.9.ebuild
index de368bac28f6..c44f0e9743f7 100644
--- a/dev-tex/pdftex/pdftex-1.40.9.ebuild
+++ b/dev-tex/pdftex/pdftex-1.40.9.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-tex/pdftex/pdftex-1.40.9.ebuild,v 1.15 2009/03/30 01:32:20 loki_val Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-tex/pdftex/pdftex-1.40.9.ebuild,v 1.16 2009/05/14 17:20:34 aballier Exp $
inherit libtool toolchain-funcs eutils multilib
@@ -27,6 +27,7 @@ src_unpack() {
cd "${S}"
epatch "${FILESDIR}/${P}-poppler.patch"
epatch "${FILESDIR}/${P}-xpdfversion.patch"
+ epatch "${FILESDIR}/${P}-poppler-0.11.patch"
elibtoolize
}