From 7225770eacaf9f8bbc43743898b9323428eec1b8 Mon Sep 17 00:00:00 2001 From: Bradley Sepos Date: Wed, 15 Jun 2016 08:29:23 -0400 Subject: contrib: Add patch for building fontconfig with mingw i686. --- contrib/fontconfig/P00-mingw-emmintrin.patch | 56 ++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 contrib/fontconfig/P00-mingw-emmintrin.patch (limited to 'contrib/fontconfig') diff --git a/contrib/fontconfig/P00-mingw-emmintrin.patch b/contrib/fontconfig/P00-mingw-emmintrin.patch new file mode 100644 index 000000000..758f46b69 --- /dev/null +++ b/contrib/fontconfig/P00-mingw-emmintrin.patch @@ -0,0 +1,56 @@ +diff -Naur fontconfig-2.11.94.orig/src/fccache.c fontconfig-2.11.94/src/fccache.c +--- fontconfig-2.11.94.orig/src/fccache.c 2015-05-27 23:53:27 +0000 ++++ fontconfig-2.11.94/src/fccache.c 2016-06-15 12:00:00 +0000 +@@ -34,6 +34,7 @@ + # include + # include + #endif ++#include + + #ifndef O_BINARY + #define O_BINARY 0 +diff -Naur fontconfig-2.11.94.orig/src/fccfg.c fontconfig-2.11.94/src/fccfg.c +--- fontconfig-2.11.94.orig/src/fccfg.c 2015-04-09 00:19:17 +0000 ++++ fontconfig-2.11.94/src/fccfg.c 2014-06-15 12:00:00 +0000 +@@ -27,6 +27,7 @@ + #include "fcint.h" + #include + #include ++#include + #include "../fc-blanks/fcblanks.h" + + #if defined (_WIN32) && !defined (R_OK) +diff -Naur fontconfig-2.11.94.orig/src/fcxml.c fontconfig-2.11.94/src/fcxml.c +--- fontconfig-2.11.94.orig/src/fcxml.c 2015-05-28 05:53:27.000000000 +0000 ++++ fontconfig-2.11.94/src/fcxml.c 2016-06-15 12:00:00 +0000 +@@ -26,6 +26,7 @@ + #include + #include + #include ++#include + + #ifdef ENABLE_LIBXML2 + +diff -Naur fontconfig-2.11.0/src/fcdefault.c fontconfig-2.11.0.new/src/fcdefault.c +--- fontconfig-2.11.0/src/fcdefault.c 2013-10-11 03:10:18 +0000 ++++ fontconfig-2.11.0.new/src/fcdefault.c 2014-02-15 18:44:53 +0000 +@@ -25,6 +25,7 @@ + #include "fcint.h" + #include + #include ++#include + + /* MT-safe */ + +diff -Naur fontconfig-2.11.0/src/fcobjs.c fontconfig-2.11.0.new/src/fcobjs.c +--- fontconfig-2.11.0/src/fcobjs.c 2013-10-11 03:10:18 +0000 ++++ fontconfig-2.11.0.new/src/fcobjs.c 2014-02-15 18:45:17 +0000 +@@ -33,6 +33,7 @@ + #include "fcobjshash.h" + + #include ++#include + + /* The 1000 is to leave some room for future added internal objects, such + * that caches from newer fontconfig can still be used with older fontconfig + -- cgit v1.2.3