summaryrefslogtreecommitdiff
path: root/print/poppler/patches/patch-ah
diff options
context:
space:
mode:
Diffstat (limited to 'print/poppler/patches/patch-ah')
-rw-r--r--print/poppler/patches/patch-ah13
1 files changed, 13 insertions, 0 deletions
diff --git a/print/poppler/patches/patch-ah b/print/poppler/patches/patch-ah
new file mode 100644
index 00000000000..d0e09caa22d
--- /dev/null
+++ b/print/poppler/patches/patch-ah
@@ -0,0 +1,13 @@
+$NetBSD: patch-ah,v 1.5 2008/07/15 10:34:21 drochner Exp $
+
+--- poppler/Page.cc.orig 2008-07-02 15:45:43.000000000 +0200
++++ poppler/Page.cc
+@@ -466,7 +466,7 @@ GBool Page::loadThumb(unsigned char **da
+
+ /* Get stream dict */
+ thumb.fetch(xref, &fetched_thumb);
+- if (fetched_thumb.isNull()) {
++ if (!fetched_thumb.isStream()) {
+ fetched_thumb.free();
+ return gFalse;
+ }