Package: navit Version: 0.5.5+dfsg.1-1 Severity: important Tags: patch Hi,
the upcoming gpsd upload ships with a new api version. The attached patch fixes the ftbfs. Thanks, Bernd -- Bernd Zeimetz Debian GNU/Linux Developer http://bzed.de http://www.debian.org GPG Fingerprint: ECA1 E3F2 8E11 2432 D485 DD95 EB36 171A 6FF9 435F
Index: navit-0.5.5+dfsg.1/navit/vehicle/gpsd/vehicle_gpsd.c =================================================================== --- navit-0.5.5+dfsg.1.orig/navit/vehicle/gpsd/vehicle_gpsd.c +++ navit-0.5.5+dfsg.1/navit/vehicle/gpsd/vehicle_gpsd.c @@ -166,7 +166,11 @@ vehicle_gpsd_callback(struct gps_data_t data->set &= ~SATELLITE_SET; } if (data->set & STATUS_SET) { +#if GPSD_API_MAJOR_VERSION >= 10 + priv->status = data->fix.status; +#else priv->status = data->status; +#endif data->set &= ~STATUS_SET; } if (data->set & MODE_SET) {