git.asbjorn.biz
/
swftools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d1cc5b
)
allow a pdf file to have broken pages
author
Matthias Kramm
<kramm@quiss.org>
Wed, 3 Feb 2010 00:20:52 +0000
(16:20 -0800)
committer
Matthias Kramm
<kramm@quiss.org>
Wed, 3 Feb 2010 00:20:52 +0000
(16:20 -0800)
lib/pdf/xpdf-changes.patch
patch
|
blob
|
history
diff --git
a/lib/pdf/xpdf-changes.patch
b/lib/pdf/xpdf-changes.patch
index
0db8a51
..
affe897
100644
(file)
--- a/
lib/pdf/xpdf-changes.patch
+++ b/
lib/pdf/xpdf-changes.patch
@@
-1136,3
+1136,14
@@
diff -u -r1.5 -r1.6
for (i = 15; i >= n; --i) {
s->buf[i] = s->buf[i-n];
}
+--- xpdf/Catalog.cc.orig 2010-02-02 16:17:24.000000000 -0800
++++ xpdf/Catalog.cc 2010-02-02 16:18:48.000000000 -0800
+@@ -193,7 +193,7 @@
+ if (!kids.isArray()) {
+ error(-1, "Kids object (page %d) is wrong type (%s)",
+ start+1, kids.getTypeName());
+- goto err1;
++ return start;
+ }
+ for (i = 0; i < kids.arrayGetLength(); ++i) {
+ kids.arrayGetNF(i, &kidRef);