Author: ken Date: Tue Jan 6 16:28:34 2015 New Revision: 3105 Log: Fix Imaging (optional for xasy) for current freetype.
Added: trunk/Imaging/ trunk/Imaging/Imaging-1.1.7-freetype_fix-1.patch Added: trunk/Imaging/Imaging-1.1.7-freetype_fix-1.patch ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ trunk/Imaging/Imaging-1.1.7-freetype_fix-1.patch Tue Jan 6 16:28:34 2015 (r3105) @@ -0,0 +1,28 @@ +Submitted By: Ken Moffat <ken at linuxfromscratch dot org> +Date: 2015-01-06 +Initial Package Version: 1.1.7 +Upstream Status: Upstream seems to be defunct, package was apparently +forked to 'pillow' but is still used by e.g. xasy from asymptote. +Origin: From chromium, found at gentoo. +Description: Fixed build with current freetype. + +https://bugs.gentoo.org/508748 + +fix building w/freetype-2.5.3 + +patch by Jungshik Shin <js...@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 */ -- http://lists.linuxfromscratch.org/listinfo/patches FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page