freetype-include-path.patch 1.0 KB

12345678910111213141516171819202122232425262728
  1. Description: Fix FTBFS caused by freetype headers path change.
  2. Author: Gilles Filippini <pini@debian.org>
  3. Bug-Debian: http://bugs.debian.org/733378
  4. Index: navit/navit/font/freetype/font_freetype.c
  5. ===================================================================
  6. --- navit.orig/navit/font/freetype/font_freetype.c 2013-09-23 10:43:32.000000000 +0200
  7. +++ navit/navit/font/freetype/font_freetype.c 2013-12-30 19:54:45.000000000 +0100
  8. @@ -32,7 +32,7 @@
  9. #if USE_FRIBIDI
  10. #include <fribidi.h>
  11. #endif
  12. -#include <freetype/ftglyph.h>
  13. +#include <ftglyph.h>
  14. #include "point.h"
  15. #include "graphics.h"
  16. #include "debug.h"
  17. diff -uNr navit.orig/navit/graphics/sdl/graphics_sdl.c navit/navit/graphics/sdl/graphics_sdl.c
  18. --- navit.orig/navit/graphics/sdl/graphics_sdl.c 2012-06-22 14:16:01.000000000 +0200
  19. +++ navit/navit/graphics/sdl/graphics_sdl.c 2014-01-01 22:31:10.892948164 +0100
  20. @@ -84,7 +84,7 @@
  21. #else
  22. #include <ft2build.h>
  23. #include FT_FREETYPE_H
  24. -#include <freetype/ftglyph.h>
  25. +#include <ftglyph.h>
  26. #endif
  27. #include <event.h>