diff options
author | Suren A. Chilingaryan <csa@suren.me> | 2019-09-01 00:00:32 +0200 |
---|---|---|
committer | Suren A. Chilingaryan <csa@suren.me> | 2019-09-01 00:00:32 +0200 |
commit | ca9627e70852f6b2e835660df870fe3ab405882d (patch) | |
tree | 0a008b1d5b16fa0679a195ed7b5662c7891f591c /app-misc/navit/files | |
download | darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.tar.gz darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.tar.bz2 darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.tar.xz darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.zip |
Initial import
Diffstat (limited to 'app-misc/navit/files')
-rw-r--r-- | app-misc/navit/files/navit-ds-externc.patch | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/app-misc/navit/files/navit-ds-externc.patch b/app-misc/navit/files/navit-ds-externc.patch new file mode 100644 index 0000000..ad49b6a --- /dev/null +++ b/app-misc/navit/files/navit-ds-externc.patch @@ -0,0 +1,34 @@ +diff -dPNur navit-9999/navit/gui/cegui/gui_sdl.h navit-9999-ds/navit/gui/cegui/gui_sdl.h +--- navit-9999/navit/gui/cegui/gui_sdl.h 2008-11-16 04:33:38.000000000 +0100 ++++ navit-9999-ds/navit/gui/cegui/gui_sdl.h 2008-11-16 04:04:55.000000000 +0100 +@@ -29,8 +29,10 @@ + extern struct navit *sdl_gui_navit; + + ++extern "C" { + bool BookmarkGo(const char * name); + bool FormerDestGo(const char * name); ++} + + struct gui_priv { + struct navit *nav; +diff -dPNur navit-9999/navit/gui/cegui/gui_sdl_window.cpp navit-9999-ds/navit/gui/cegui/gui_sdl_window.cpp +--- navit-9999/navit/gui/cegui/gui_sdl_window.cpp 2008-11-16 04:33:38.000000000 +0100 ++++ navit-9999-ds/navit/gui/cegui/gui_sdl_window.cpp 2008-11-16 04:03:25.000000000 +0100 +@@ -24,6 +24,7 @@ + // FIXME temporary fix for enum + #include "projection.h" + ++extern "C" { + #include "item.h" + #include "navit.h" + #include "vehicle.h" +@@ -43,7 +44,7 @@ + #include "track.h" + #include "menu.h" + #include "map.h" +- ++} + + #include "CEGUI.h" + |