diff options
author | 2004-10-07 15:19:44 +0000 | |
---|---|---|
committer | 2004-10-07 15:19:44 +0000 | |
commit | c74940d2833cca1e13fab2c70a899cfcb75064e9 (patch) | |
tree | 6a5045261c686e087615c5d0e0ba572cfcce71bc /app-text/xpdf | |
parent | version bump (diff) | |
download | historical-c74940d2833cca1e13fab2c70a899cfcb75064e9.tar.gz historical-c74940d2833cca1e13fab2c70a899cfcb75064e9.tar.bz2 historical-c74940d2833cca1e13fab2c70a899cfcb75064e9.zip |
add patch to fix crash on accessing empty bookmarks, bug #51253
Diffstat (limited to 'app-text/xpdf')
-rw-r--r-- | app-text/xpdf/ChangeLog | 6 | ||||
-rw-r--r-- | app-text/xpdf/Manifest | 5 | ||||
-rw-r--r-- | app-text/xpdf/files/xpdf-3.00-empty-bookmark.patch | 11 | ||||
-rw-r--r-- | app-text/xpdf/xpdf-3.00-r2.ebuild | 3 |
4 files changed, 21 insertions, 4 deletions
diff --git a/app-text/xpdf/ChangeLog b/app-text/xpdf/ChangeLog index 3a922e589e7e..3eed477b2723 100644 --- a/app-text/xpdf/ChangeLog +++ b/app-text/xpdf/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for app-text/xpdf # Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/xpdf/ChangeLog,v 1.38 2004/10/07 15:13:17 lanius Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/xpdf/ChangeLog,v 1.39 2004/10/07 15:19:44 lanius Exp $ + + 07 Oct 2004; Heinrich Wendel <lanius@gentoo.org> + +files/xpdf-3.00-empty-bookmark.patch, xpdf-3.00-r2.ebuild: + add patch to fix crash on accessing empty bookmarks, bug #51253 07 Oct 2004; Heinrich Wendel <lanius@gentoo.org> xpdf-3.00-r2.ebuild: make nodrm patch depend on a useflag, bug #66082 diff --git a/app-text/xpdf/Manifest b/app-text/xpdf/Manifest index a1a5d87b5e16..8bd4106ddb33 100644 --- a/app-text/xpdf/Manifest +++ b/app-text/xpdf/Manifest @@ -1,10 +1,11 @@ MD5 da4e42aa1b0307c9a605711650025436 xpdf-3.00-r1.ebuild 951 MD5 78e8623c972db9014d5ed698031c9189 xpdf-2.02.1.ebuild 1127 MD5 6077c4fa36327883ebb4aaa2ed20023e xpdf-3.00.ebuild 835 -MD5 34eeb87048af4c74585a4c831d140cd1 xpdf-3.00-r2.ebuild 2926 +MD5 330311423c40acfe36b8b9c6cc04cbf1 xpdf-3.00-r2.ebuild 2977 MD5 e72ff64a0feb9484ea01864bd308c13c xpdf-2.03.ebuild 1128 -MD5 b922d9aa8e70e1c38f66ac3598ada32f ChangeLog 4743 +MD5 b84e42dceab4968d9334da7c3b94bbba ChangeLog 4923 MD5 26b4b081d538c195dc39bcb2ec8e6f3a metadata.xml 161 +MD5 8221707abac9c48b486b8c2b9bc7a7a0 files/xpdf-3.00-empty-bookmark.patch 373 MD5 263f91efedaa87e4597ab0a83407137d files/xpdfrc.1 1593 MD5 f200f24c7cfa6061337dc6c0e03f36b9 files/xpdf-3.00-nodrm.diff 1049 MD5 d2fc1b3562bfee9f9c7fb5beaa741084 files/xpdf-3.00-truetype.diff.gz 3288 diff --git a/app-text/xpdf/files/xpdf-3.00-empty-bookmark.patch b/app-text/xpdf/files/xpdf-3.00-empty-bookmark.patch new file mode 100644 index 000000000000..3f05bced654a --- /dev/null +++ b/app-text/xpdf/files/xpdf-3.00-empty-bookmark.patch @@ -0,0 +1,11 @@ +--- xpdf/XPDFViewer.cc 2004-05-18 12:47:11.512305008 +0200 ++++ xpdf/XPDFViewer.cc.new 2004-05-18 12:38:14.558934328 +0200 +@@ -1681,7 +1681,7 @@ + OutlineItem *item; + + XtVaGetValues(data->selectedItem, XmNuserData, &item, NULL); +- if (item) { ++ if (item && (item->getAction() != 0)) { + viewer->core->doAction(item->getAction()); + } + viewer->core->takeFocus(); diff --git a/app-text/xpdf/xpdf-3.00-r2.ebuild b/app-text/xpdf/xpdf-3.00-r2.ebuild index 8893aaad627c..35b0bd63c5dd 100644 --- a/app-text/xpdf/xpdf-3.00-r2.ebuild +++ b/app-text/xpdf/xpdf-3.00-r2.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/xpdf/xpdf-3.00-r2.ebuild,v 1.3 2004/10/07 15:13:17 lanius Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/xpdf/xpdf-3.00-r2.ebuild,v 1.4 2004/10/07 15:19:44 lanius Exp $ inherit eutils @@ -50,6 +50,7 @@ src_unpack() { unpack ${A} cd ${S} epatch ${FILESDIR}/xpdf-3.00-truetype.diff.gz + epatch ${FILESDIR}/xpdf-3.00-empty-bookmark.patch use nodrm && epatch ${FILESDIR}/xpdf-3.00-nodrm.diff } |