diff options
author | Britney Fransen <brfransen@gmail.com> | 2014-12-20 16:02:59 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2014-12-20 16:02:59 (GMT) |
commit | f7ae4ba2fd32b939353f06c9f39d7dcdbd229601 (patch) | |
tree | 6ec7be5ba972e0f5de80b0d1174b3bed9be01d38 /abs/extra/libgdiplus/libgdiplus-2.10.9-freetype25.patch | |
parent | 26a4cb523ef1beed943cdccecd508c357f035d39 (diff) | |
download | linhes_pkgbuild-f7ae4ba2fd32b939353f06c9f39d7dcdbd229601.zip linhes_pkgbuild-f7ae4ba2fd32b939353f06c9f39d7dcdbd229601.tar.gz linhes_pkgbuild-f7ae4ba2fd32b939353f06c9f39d7dcdbd229601.tar.bz2 |
libgdiplus: update to 3.8
Diffstat (limited to 'abs/extra/libgdiplus/libgdiplus-2.10.9-freetype25.patch')
-rw-r--r-- | abs/extra/libgdiplus/libgdiplus-2.10.9-freetype25.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/abs/extra/libgdiplus/libgdiplus-2.10.9-freetype25.patch b/abs/extra/libgdiplus/libgdiplus-2.10.9-freetype25.patch new file mode 100644 index 0000000..bd359f4 --- /dev/null +++ b/abs/extra/libgdiplus/libgdiplus-2.10.9-freetype25.patch @@ -0,0 +1,26 @@ +commit 180c02e0f2a2016eba8520b456ca929e9dcf03db +Author: Jo Shields <directhex@apebox.org> +Date: Mon Dec 16 09:24:57 2013 +0000 + + Use FreeType macros for tttables.h inclusion + + As of FreeType 2.1.6 (November 2003), using #include to include Freetype libraries directly is not supported. + + This has come to a head, as in FreeType 2.5.0, the location of headers has been moved around, breaking building of libgdiplus. + + This slight change uses the "official" way to include the required header file, without breaking building on older versions of the library. + +diff --git a/src/gdiplus-private.h b/src/gdiplus-private.h +index 59edf9e..dfccc02 100644 +--- a/src/gdiplus-private.h ++++ b/src/gdiplus-private.h +@@ -30,7 +30,8 @@ + #include <stdio.h> + #include <math.h> + #include <glib.h> +-#include <freetype/tttables.h> ++#include <ft2build.h> ++#include FT_TRUETYPE_TABLES_H + #include <pthread.h> + #include <unistd.h> + |