From be9ca8657b6e1e0edb3153e5fe7f7d29ec7b01dd Mon Sep 17 00:00:00 2001 From: Martin Jansa Date: Wed, 1 Jan 2014 13:23:14 +0100 Subject: navit: Fix build with newer freetype Signed-off-by: Martin Jansa --- .../navit/navit/freetype-include-path.patch | 28 ++++++++++++++++++++++ meta-oe/recipes-navigation/navit/navit_svn.bb | 1 + 2 files changed, 29 insertions(+) create mode 100644 meta-oe/recipes-navigation/navit/navit/freetype-include-path.patch (limited to 'meta-oe/recipes-navigation') 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 @@ +Description: Fix FTBFS caused by freetype headers path change. +Author: Gilles Filippini +Bug-Debian: http://bugs.debian.org/733378 +Index: navit/navit/font/freetype/font_freetype.c +=================================================================== +--- navit.orig/navit/font/freetype/font_freetype.c 2013-09-23 10:43:32.000000000 +0200 ++++ navit/navit/font/freetype/font_freetype.c 2013-12-30 19:54:45.000000000 +0100 +@@ -32,7 +32,7 @@ + #if USE_FRIBIDI + #include + #endif +-#include ++#include + #include "point.h" + #include "graphics.h" + #include "debug.h" +diff -uNr navit.orig/navit/graphics/sdl/graphics_sdl.c navit/navit/graphics/sdl/graphics_sdl.c +--- navit.orig/navit/graphics/sdl/graphics_sdl.c 2012-06-22 14:16:01.000000000 +0200 ++++ navit/navit/graphics/sdl/graphics_sdl.c 2014-01-01 22:31:10.892948164 +0100 +@@ -84,7 +84,7 @@ + #else + #include + #include FT_FREETYPE_H +-#include ++#include + #endif + #include + 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" S = "${WORKDIR}/${PN}" SRC_URI += "svn://anonymous@navit.svn.sourceforge.net/svnroot/navit/trunk;module=navit;protocol=http \ + file://freetype-include-path.patch \ " -- cgit 1.2.3-korg