diff options
Diffstat (limited to 'Build/source/libs/xpdf/xpdf-3.02-PDF_PARSER_ONLY.patch')
-rw-r--r-- | Build/source/libs/xpdf/xpdf-3.02-PDF_PARSER_ONLY.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/Build/source/libs/xpdf/xpdf-3.02-PDF_PARSER_ONLY.patch b/Build/source/libs/xpdf/xpdf-3.02-PDF_PARSER_ONLY.patch new file mode 100644 index 00000000000..6a91d078fb4 --- /dev/null +++ b/Build/source/libs/xpdf/xpdf-3.02-PDF_PARSER_ONLY.patch @@ -0,0 +1,16 @@ +diff -ur xpdf-3.02.orig/xpdf/Page.cc xpdf-3.02/xpdf/Page.cc +--- xpdf-3.02.orig/xpdf/Page.cc 2007-02-27 23:05:52.000000000 +0100 ++++ xpdf-3.02/xpdf/Page.cc 2009-02-08 03:15:12.000000000 +0100 +@@ -420,6 +420,7 @@ + delete links; + } + ++#ifndef PDF_PARSER_ONLY + void Page::getDefaultCTM(double *ctm, double hDPI, double vDPI, + int rotate, GBool useMediaBox, GBool upsideDown) { + GfxState *state; +@@ -439,3 +440,4 @@ + } + delete state; + } ++#endif |