diff options
Diffstat (limited to 'Build/source/libs/xpdf/xpdf-3.02-PATCHES/patch-10-exclude-body-of-Page_getDefaultCTM')
-rw-r--r-- | Build/source/libs/xpdf/xpdf-3.02-PATCHES/patch-10-exclude-body-of-Page_getDefaultCTM | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/Build/source/libs/xpdf/xpdf-3.02-PATCHES/patch-10-exclude-body-of-Page_getDefaultCTM b/Build/source/libs/xpdf/xpdf-3.02-PATCHES/patch-10-exclude-body-of-Page_getDefaultCTM new file mode 100644 index 00000000000..5037bf1ba02 --- /dev/null +++ b/Build/source/libs/xpdf/xpdf-3.02-PATCHES/patch-10-exclude-body-of-Page_getDefaultCTM @@ -0,0 +1,21 @@ + Enable compilation with -DPDF_PARSER_ONLY + + from: + Derek B. Noonburg <derek@foolabs.com> + +--- xpdf-3.02.orig/xpdf/Page.cc 2007-02-27 23:05:52.000000000 +0100 ++++ xpdf-3.02/xpdf/Page.cc 2009-05-07 00:22:58.085044699 +0200 +@@ -422,6 +422,7 @@ + + void Page::getDefaultCTM(double *ctm, double hDPI, double vDPI, + int rotate, GBool useMediaBox, GBool upsideDown) { ++#ifndef PDF_PARSER_ONLY + GfxState *state; + int i; + +@@ -438,4 +439,5 @@ + ctm[i] = state->getCTM()[i]; + } + delete state; ++#endif + } |