summaryrefslogtreecommitdiff
path: root/print/xpdf/patches
diff options
context:
space:
mode:
authordillo <dillo>2002-11-08 02:46:29 +0000
committerdillo <dillo>2002-11-08 02:46:29 +0000
commitf93f008bfddde08aa512589df0489706c9fdd5bd (patch)
tree84cc0b27440b44837bf7448fd4425bf6905b21db /print/xpdf/patches
parente3b64c6c4c280ff5342d0983c3512ea0cb29d60d (diff)
downloadpkgsrc-f93f008bfddde08aa512589df0489706c9fdd5bd.tar.gz
update to 2.00
Changes since 1.01: - Switched to the Motif toolkit. - Support multiple open documents (in separate windows). - Added document outlines to the viewer. - Implemented the JBIG2 decoder. - Added support for movie annotations. - Switched back to native LZW decompression code. - Many bug fixes and enhancements.
Diffstat (limited to 'print/xpdf/patches')
-rw-r--r--print/xpdf/patches/patch-ab20
1 files changed, 20 insertions, 0 deletions
diff --git a/print/xpdf/patches/patch-ab b/print/xpdf/patches/patch-ab
new file mode 100644
index 00000000000..e4a4a17f914
--- /dev/null
+++ b/print/xpdf/patches/patch-ab
@@ -0,0 +1,20 @@
+$NetBSD: patch-ab,v 1.3 2002/11/08 02:46:30 dillo Exp $
+
+--- xpdf/XPDFViewer.cc.orig Sun Nov 3 23:15:37 2002
++++ xpdf/XPDFViewer.cc
+@@ -143,9 +143,12 @@ XPDFViewer::XPDFViewer(XPDFApp *appA, GS
+
+ XPDFViewer::~XPDFViewer() {
+ delete core;
+- XmFontListFree(aboutBigFont);
+- XmFontListFree(aboutVersionFont);
+- XmFontListFree(aboutFixedFont);
++ if(aboutBigFont)
++ XmFontListFree(aboutBigFont);
++ if(aboutVersionFont)
++ XmFontListFree(aboutVersionFont);
++ if(aboutFixedFont)
++ XmFontListFree(aboutFixedFont);
+ closeWindow();
+ #ifndef DISABLE_OUTLINE
+ if (outlineLabels) {