diff options
Diffstat (limited to 'Build/source/libs')
-rw-r--r-- | Build/source/libs/README | 2 | ||||
-rw-r--r-- | Build/source/libs/xpdf/xpdf-3.02-mingw32.patch | 14 | ||||
-rw-r--r-- | Build/source/libs/xpdf/xpdf-3.02/xpdf/GlobalParams.cc | 4 |
3 files changed, 20 insertions, 0 deletions
diff --git a/Build/source/libs/README b/Build/source/libs/README index cb318f0de70..c07d800eed0 100644 --- a/Build/source/libs/README +++ b/Build/source/libs/README @@ -31,6 +31,8 @@ Libraries we compile for TeX Live. xpdf/xpdf-3.02-pdftex.patch Applied patch for djgpp: xpdf/xpdf-3.02-time_h.patch + Applied patch for mingw32: + xpdf/xpdf-3.02-mingw32.patch ==> zlib <== Original sources from: diff --git a/Build/source/libs/xpdf/xpdf-3.02-mingw32.patch b/Build/source/libs/xpdf/xpdf-3.02-mingw32.patch new file mode 100644 index 00000000000..ce4921e0372 --- /dev/null +++ b/Build/source/libs/xpdf/xpdf-3.02-mingw32.patch @@ -0,0 +1,14 @@ +diff -ur xpdf-3.02.orig/xpdf/GlobalParams.cc xpdf-3.02/xpdf/GlobalParams.cc +--- xpdf-3.02.orig/xpdf/GlobalParams.cc 2009-03-20 08:45:16.000000000 +0100 ++++ xpdf-3.02/xpdf/GlobalParams.cc 2009-04-02 10:22:18.000000000 +0200 +@@ -44,6 +44,10 @@ + + #include <aconf.h> + ++#ifdef __MINGW32__ ++#undef WIN32 ++#endif ++ + #ifdef USE_GCC_PRAGMAS + #pragma implementation + #endif diff --git a/Build/source/libs/xpdf/xpdf-3.02/xpdf/GlobalParams.cc b/Build/source/libs/xpdf/xpdf-3.02/xpdf/GlobalParams.cc index 4ed52dde7fc..c4ecd967806 100644 --- a/Build/source/libs/xpdf/xpdf-3.02/xpdf/GlobalParams.cc +++ b/Build/source/libs/xpdf/xpdf-3.02/xpdf/GlobalParams.cc @@ -44,6 +44,10 @@ #include <aconf.h> +#ifdef __MINGW32__ +#undef WIN32 +#endif + #ifdef USE_GCC_PRAGMAS #pragma implementation #endif |