diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2011-08-22 13:45:08 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2011-08-22 13:45:08 +0000 |
commit | d28101658050e6245fc1ea5f67bd1b48f8ff760d (patch) | |
tree | a45de21c28a8e9904bfe6b4afe4b5614e7b12a3e /Build/source/libs/xpdf/xpdf-3.03-PATCHES/patch-10-exclude-body-of-Page_getDefaultCTM | |
parent | ca71f577a6ad4dbd109007f0f61b0d5a2029b8cc (diff) |
xpdf 3.03
git-svn-id: svn://tug.org/texlive/trunk@23646 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/libs/xpdf/xpdf-3.03-PATCHES/patch-10-exclude-body-of-Page_getDefaultCTM')
-rw-r--r-- | Build/source/libs/xpdf/xpdf-3.03-PATCHES/patch-10-exclude-body-of-Page_getDefaultCTM | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/Build/source/libs/xpdf/xpdf-3.03-PATCHES/patch-10-exclude-body-of-Page_getDefaultCTM b/Build/source/libs/xpdf/xpdf-3.03-PATCHES/patch-10-exclude-body-of-Page_getDefaultCTM new file mode 100644 index 00000000000..b2e73f78704 --- /dev/null +++ b/Build/source/libs/xpdf/xpdf-3.03-PATCHES/patch-10-exclude-body-of-Page_getDefaultCTM @@ -0,0 +1,22 @@ + Enable compilation with -DPDF_PARSER_ONLY + + from: + Derek B. Noonburg <derek@foolabs.com> + +diff -ur -N xpdf-3.03.orig/xpdf/Page.cc xpdf-3.03/xpdf/Page.cc +--- xpdf-3.03.orig/xpdf/Page.cc 2011-08-15 23:08:53.000000000 +0200 ++++ xpdf-3.03/xpdf/Page.cc 2011-08-22 13:52:37.000000000 +0200 +@@ -461,6 +461,7 @@ + + void Page::getDefaultCTM(double *ctm, double hDPI, double vDPI, + int rotate, GBool useMediaBox, GBool upsideDown) { ++#ifndef PDF_PARSER_ONLY + GfxState *state; + int i; + +@@ -477,4 +478,5 @@ + ctm[i] = state->getCTM()[i]; + } + delete state; ++#endif + } |