summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
author <philippe colliot>2016-03-31 16:03:06 +0200
committer <philippe colliot>2016-03-31 16:03:06 +0200
commit497fe70ab183c2a968c8e488fde2e3ba143b141e (patch)
tree1524b8c6778d4c0beaec81556bf466bd8e22db5f /src
parenteb898b7e672da53410180716acfc8047619a6595 (diff)
downloadpoi-service-497fe70ab183c2a968c8e488fde2e3ba143b141e.tar.gz
add a patch to navit to make it running on renesas board
Diffstat (limited to 'src')
-rw-r--r--src/navigation/README5
-rw-r--r--src/navigation/patches/fsa_issue_padding.diff17
2 files changed, 20 insertions, 2 deletions
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 <current version of navit>
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);