From 497fe70ab183c2a968c8e488fde2e3ba143b141e Mon Sep 17 00:00:00 2001 From: Date: Thu, 31 Mar 2016 16:03:06 +0200 Subject: add a patch to navit to make it running on renesas board --- src/navigation/README | 5 +++-- src/navigation/patches/fsa_issue_padding.diff | 17 +++++++++++++++++ 2 files changed, 20 insertions(+), 2 deletions(-) create mode 100644 src/navigation/patches/fsa_issue_padding.diff (limited to 'src') diff --git a/src/navigation/README b/src/navigation/README index 4e3bf69..78a2fd1 100644 --- a/src/navigation/README +++ b/src/navigation/README @@ -1,4 +1,4 @@ -Release date of the file: 09-03-2016 +Release date of the file: 31-03-2016 Status: OK Project: @@ -47,9 +47,10 @@ git checkout cd ../ -Now apply a patch to navit (The r5549 removed the get_unique features used by GetSpell): +Now apply patches to navit (The r5549 removed the get_unique features used by GetSpell, and another one is required to run it on the RENESAS board): cd navit patch -p0 -i ../patches/search_list_get_unique.diff +patch -p0 -i ../patches/fsa_issue_padding.diff cd ../ =============================== diff --git a/src/navigation/patches/fsa_issue_padding.diff b/src/navigation/patches/fsa_issue_padding.diff new file mode 100644 index 0000000..666928c --- /dev/null +++ b/src/navigation/patches/fsa_issue_padding.diff @@ -0,0 +1,17 @@ +Index: navit/navit/navit.c +=================================================================== +--- navit/navit.c (revision 5827) ++++ navit/navit.c (working copy) +@@ -2353,10 +2353,12 @@ navit_get_cursor_pnt(struct navit *this_, struct point *p, int keep_orientation, + } + #endif + ++#if 0 + if (this_->gra) { + padding = graphics_get_data(this_->gra, "padding"); + } else + dbg(lvl_warning, "cannot get padding: this->gra is NULL\n"); ++#endif + + transform_get_size(this_->trans, &width, &height); + dbg(lvl_debug, "width=%d height=%d\n", width, height); -- cgit v1.2.1