summaryrefslogtreecommitdiff
path: root/dev-python/imaging/files/imaging-1.1.7-ft-header-include.patch
diff options
context:
space:
mode:
authorBlackNoxis <steven.darklight@gmail.com>2014-11-21 16:52:02 +0200
committerBlackNoxis <steven.darklight@gmail.com>2014-11-21 16:52:02 +0200
commitf09b0ce404160d570380506fe314f326a9412d33 (patch)
tree58af4f0f590f06550fd98b01ff5e3de624329b38 /dev-python/imaging/files/imaging-1.1.7-ft-header-include.patch
parent2ef47d494f82c5e68de1edc169d3ad66a6b3831b (diff)
Safe keeping the package dev-python/imaging
Diffstat (limited to 'dev-python/imaging/files/imaging-1.1.7-ft-header-include.patch')
-rw-r--r--dev-python/imaging/files/imaging-1.1.7-ft-header-include.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/dev-python/imaging/files/imaging-1.1.7-ft-header-include.patch b/dev-python/imaging/files/imaging-1.1.7-ft-header-include.patch
new file mode 100644
index 00000000..cdc06839
--- /dev/null
+++ b/dev-python/imaging/files/imaging-1.1.7-ft-header-include.patch
@@ -0,0 +1,20 @@
+https://bugs.gentoo.org/508748
+
+fix building w/freetype-2.5.3
+
+patch by Jungshik Shin <jshin@chromium.org>
+
+--- Imaging-1.1.7/_imagingft.c
++++ Imaging-1.1.7/_imagingft.c
+@@ -70,7 +70,11 @@
+ const char* message;
+ } ft_errors[] =
+
++#if defined(USE_FREETYPE_2_1)
++#include FT_ERRORS_H
++#else
+ #include <freetype/fterrors.h>
++#endif
+
+ /* -------------------------------------------------------------------- */
+ /* font objects */