Package: derivations / 0.53.20120414-1.2

poppler_api_change Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
Index: derivations-0.52.20100310/btool/PDF/PDF.cc
===================================================================
--- derivations-0.52.20100310.orig/btool/PDF/PDF.cc	2010-03-09 22:32:55.000000000 +0100
+++ derivations-0.52.20100310/btool/PDF/PDF.cc	2012-02-18 15:13:23.150121718 +0100
@@ -8,7 +8,7 @@
 }
 
 int PDF::offset_last_xref_table( const PDF &pdf ) {
-  return pdf.rep->xref->getLastXRefPos();
+  return pdf.rep->xref->getEntry(0)->offset;
 }
 
 PDF::Iref PDF::iref_catalog( const PDF &pdf ) {