Fix yet more unhandled attributes for mg
authorGilles Filippini <pini@debian.org>
Mon, 11 Jan 2010 13:04:20 +0000 (14:04 +0100)
committerGilles Filippini <pini@debian.org>
Mon, 11 Jan 2010 13:04:20 +0000 (14:04 +0100)
attr_description and attr_url_local.

debian/patches/mg-unhandled-attr

index ea8ae30..0af1dcb 100644 (file)
@@ -1,14 +1,16 @@
 Workaround for unhandled attrs introduced by svn2827 and svn2844.
-diff --git a/navit/map/mg/town.c b/navit/map/mg/town.c
-index cee0468..a1f518b 100644
---- a/navit/map/mg/town.c
-+++ b/navit/map/mg/town.c
-@@ -104,6 +104,9 @@ town_attr_get(void *priv_data, enum attr_type attr_type, struct attr *attr)
+Index: navit/navit/map/mg/town.c
+===================================================================
+--- navit.orig/navit/map/mg/town.c     2010-01-11 11:45:19.000000000 +0100
++++ navit/navit/map/mg/town.c  2010-01-11 12:28:35.000000000 +0100
+@@ -104,6 +104,11 @@
                attr->u.str=twn->debug;
                twn->attr_next=attr_none;
                return 1;
 +      case attr_postal_mask:
 +      case attr_county_name:
++      case attr_description:
++      case attr_url_local:
 +              return 0;
        default:
                dbg_assert(1==0);