diff options
author | Koen Kooi <koen@openembedded.org> | 2008-05-15 07:22:21 +0000 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2008-05-15 07:22:21 +0000 |
commit | f44125b60d426fb5778b5a145e526e2714516646 (patch) | |
tree | debecb6ad651f9eb36481a9173b9423d660b3498 /packages/gpsdrive/gpsdrive-2.10pre4/gpsdrive-ifdef-mapnik.patch | |
parent | 55495249feccc1f7a934524005ea794b5175c077 (diff) | |
parent | c6a15f8b88644ebfe60d760141fddd94eca36f30 (diff) |
merge of '0c6f4fed33f17c5c3b0e7416ecda652fda206d63'
and 'aa3097d17325c17ff5fe04479d9a3a47ec96d299'
Diffstat (limited to 'packages/gpsdrive/gpsdrive-2.10pre4/gpsdrive-ifdef-mapnik.patch')
-rw-r--r-- | packages/gpsdrive/gpsdrive-2.10pre4/gpsdrive-ifdef-mapnik.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/packages/gpsdrive/gpsdrive-2.10pre4/gpsdrive-ifdef-mapnik.patch b/packages/gpsdrive/gpsdrive-2.10pre4/gpsdrive-ifdef-mapnik.patch new file mode 100644 index 0000000000..c51c80931c --- /dev/null +++ b/packages/gpsdrive/gpsdrive-2.10pre4/gpsdrive-ifdef-mapnik.patch @@ -0,0 +1,18 @@ +Index: src/map_handler.c +=================================================================== +--- aa/src/map_handler.c (Revision 1699) ++++ aa/src/map_handler.c (Revision 1700) +@@ -660,9 +660,12 @@ + if (maploaded) + gdk_pixbuf_unref (image); + ++#ifdef MAPNIK + if ( !strcmp (filename,"mapnik") ) { + limage = gdk_pixbuf_new_from_data(get_mapnik_imagedata(), GDK_COLORSPACE_RGB, FALSE, 8, 1280, 1024, 1280 * 3, NULL, NULL); +- } else { ++ } else ++#endif ++ { + limage = gdk_pixbuf_new_from_file (filename, NULL); + if (limage == NULL) + { |