020-freetype-header-include.patch 621 B

123456789101112131415161718192021
  1. diff -rupN Imaging-1.1.7.orig/_imagingft.c Imaging-1.1.7/_imagingft.c
  2. --- Imaging-1.1.7.orig/_imagingft.c 2009-11-01 01:44:12.000000000 +0100
  3. +++ Imaging-1.1.7/_imagingft.c 2014-12-11 01:05:21.290135484 +0100
  4. @@ -32,7 +32,7 @@
  5. #include FT_FREETYPE_H
  6. #else
  7. /* freetype 2.0 */
  8. -#include <freetype/freetype.h>
  9. +#include <freetype2/freetype.h>
  10. #endif
  11. #if PY_VERSION_HEX < 0x01060000
  12. @@ -70,7 +70,7 @@ struct {
  13. const char* message;
  14. } ft_errors[] =
  15. -#include <freetype/fterrors.h>
  16. +#include <freetype2/fterrors.h>
  17. /* -------------------------------------------------------------------- */
  18. /* font objects */