diff options
| -rw-r--r-- | meta-oe/recipes-navigation/navit/navit/freetype-include-path.patch | 28 | ||||
| -rw-r--r-- | meta-oe/recipes-navigation/navit/navit_svn.bb | 1 |
2 files changed, 29 insertions, 0 deletions
diff --git a/meta-oe/recipes-navigation/navit/navit/freetype-include-path.patch b/meta-oe/recipes-navigation/navit/navit/freetype-include-path.patch new file mode 100644 index 0000000000..288997bca5 --- /dev/null +++ b/meta-oe/recipes-navigation/navit/navit/freetype-include-path.patch | |||
| @@ -0,0 +1,28 @@ | |||
| 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> | ||
| 28 | |||
diff --git a/meta-oe/recipes-navigation/navit/navit_svn.bb b/meta-oe/recipes-navigation/navit/navit_svn.bb index 6e81a4b6e5..2661507db1 100644 --- a/meta-oe/recipes-navigation/navit/navit_svn.bb +++ b/meta-oe/recipes-navigation/navit/navit_svn.bb | |||
| @@ -6,4 +6,5 @@ PR = "${INC_PR}.3" | |||
| 6 | 6 | ||
| 7 | S = "${WORKDIR}/${PN}" | 7 | S = "${WORKDIR}/${PN}" |
| 8 | SRC_URI += "svn://anonymous@navit.svn.sourceforge.net/svnroot/navit/trunk;module=navit;protocol=http \ | 8 | SRC_URI += "svn://anonymous@navit.svn.sourceforge.net/svnroot/navit/trunk;module=navit;protocol=http \ |
| 9 | file://freetype-include-path.patch \ | ||
| 9 | " | 10 | " |
