summaryrefslogtreecommitdiff
path: root/Build/source/texk/lcdf-typetools/lcdf-typetools-2.104-PATCHES/patch-02-mingw64
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/lcdf-typetools/lcdf-typetools-2.104-PATCHES/patch-02-mingw64')
-rw-r--r--Build/source/texk/lcdf-typetools/lcdf-typetools-2.104-PATCHES/patch-02-mingw6414
1 files changed, 14 insertions, 0 deletions
diff --git a/Build/source/texk/lcdf-typetools/lcdf-typetools-2.104-PATCHES/patch-02-mingw64 b/Build/source/texk/lcdf-typetools/lcdf-typetools-2.104-PATCHES/patch-02-mingw64
new file mode 100644
index 00000000000..0c4eb654b3c
--- /dev/null
+++ b/Build/source/texk/lcdf-typetools/lcdf-typetools-2.104-PATCHES/patch-02-mingw64
@@ -0,0 +1,14 @@
+ MinGW64 complains when <winsock2.h> is included after <windows.h>
+ (via include/efont/otfdata.hh).
+
+diff -ur -x Makefile.in -x aclocal.m4 -x autoconf.h.in -x configure lcdf-typetools-2.104.orig/include/config.h lcdf-typetools-2.104/include/config.h
+--- lcdf-typetools-2.104.orig/include/config.h 2013-09-17 15:27:20.000000000 +0200
++++ lcdf-typetools-2.104/include/config.h 2014-11-06 11:47:10.000000000 +0100
+@@ -6,6 +6,7 @@
+ /* Allow compilation on Windows (thanks, Fabrice Popineau). */
+ #ifdef WIN32
+ # ifdef __MINGW32__
++# include <winsock2.h>
+ # include <windows.h>
+ # else
+ # include <win32lib.h>