summaryrefslogtreecommitdiff
path: root/Build/source/libs
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2009-04-02 08:40:28 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2009-04-02 08:40:28 +0000
commit24367e4cfdd9a3290fb456069c26a508b769cef6 (patch)
tree2a375c9782fb340377d757654c870b786dcfdbdc /Build/source/libs
parent6409e03d423ca6b33a233312155c08637b18c597 (diff)
bug fixes for mingw32 cross build
git-svn-id: svn://tug.org/texlive/trunk@12596 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/libs')
-rw-r--r--Build/source/libs/README2
-rw-r--r--Build/source/libs/xpdf/xpdf-3.02-mingw32.patch14
-rw-r--r--Build/source/libs/xpdf/xpdf-3.02/xpdf/GlobalParams.cc4
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