From 14c2326d13338522e4e93b9e1fca9a990d8377cd Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Fri, 6 Dec 2013 10:47:37 +0000 Subject: python-imaging: fix compilation with Freetype 2.5.1 Take a patch from the Pillow "friendly fork" to fix compilation with Freetype 2.5.1. (From OE-Core rev: bedaf81dc045c4b222cdf586a4ec901c4e1d08f8) Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- .../python-imaging/fix-freetype-includes.patch | 30 ++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 meta/recipes-devtools/python/python-imaging/fix-freetype-includes.patch (limited to 'meta/recipes-devtools/python/python-imaging/fix-freetype-includes.patch') diff --git a/meta/recipes-devtools/python/python-imaging/fix-freetype-includes.patch b/meta/recipes-devtools/python/python-imaging/fix-freetype-includes.patch new file mode 100644 index 0000000..9ecc63a --- /dev/null +++ b/meta/recipes-devtools/python/python-imaging/fix-freetype-includes.patch @@ -0,0 +1,30 @@ +Upstream-Status: Backport +Signed-off-by: Ross Burton + +From c6040f618d8f2706a7b46d1cdf37d1a587f9701f Mon Sep 17 00:00:00 2001 +From: Andrew Stromnov +Date: Thu, 28 Nov 2013 16:58:43 +0400 +Subject: [PATCH] fix compiling with FreeType 2.5.1 + +--- + _imagingft.c | 4 ++++ + 1 file changed, 4 insertions(+) + +diff --git a/_imagingft.c b/_imagingft.c +index 47d50bd..f19555b 100644 +--- a/_imagingft.c ++++ b/_imagingft.c +@@ -59,7 +59,11 @@ struct { + const char* message; + } ft_errors[] = + ++#if defined(USE_FREETYPE_2_1) ++#include FT_ERRORS_H ++#else + #include ++#endif + + /* -------------------------------------------------------------------- */ + /* font objects */ +-- +1.8.5.1 -- cgit v1.1