File mapnik-handler.patch of Package gpsdrive

--- src/map_handler.c.orig	2007-09-15 09:32:42.000000000 +0200
+++ src/map_handler.c	2008-01-18 12:52:51.000000000 +0100
@@ -661,7 +661,9 @@
     gdk_pixbuf_unref (image);
 
   if ( !strcmp (filename,"mapnik") ) {
+#ifdef MAPNIK
 	  limage = gdk_pixbuf_new_from_data(get_mapnik_imagedata(), GDK_COLORSPACE_RGB, FALSE, 8, 1280, 1024, 1280 * 3, NULL, NULL);
+#endif
   } else {
 	  limage = gdk_pixbuf_new_from_file (filename, NULL);
 	  if (limage == NULL)
openSUSE Build Service is sponsored by