b4411d9c91
Added use-recommended-freetype-include.patch -- needed for freetype2 2.5.1 OBS-URL: https://build.opensuse.org/request/show/210605 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pillow?expand=0&rev=6
16 lines
467 B
Diff
16 lines
467 B
Diff
diff -Naur Pillow-2.2.1.orig/_imagingft.c Pillow-2.2.1/_imagingft.c
|
|
--- Pillow-2.2.1.orig/_imagingft.c 2013-10-02 12:58:22.000000000 +0200
|
|
+++ Pillow-2.2.1/_imagingft.c 2013-12-11 21:07:17.433282578 +0100
|
|
@@ -59,7 +59,11 @@
|
|
const char* message;
|
|
} ft_errors[] =
|
|
|
|
+#if defined(USE_FREETYPE_2_1)
|
|
+#include FT_ERRORS_H
|
|
+#else
|
|
#include <freetype/fterrors.h>
|
|
+#endif
|
|
|
|
/* -------------------------------------------------------------------- */
|
|
/* font objects */
|