Package: s3dosm Version: 0.2.2.1-2 Severity: important Tags: patch Hi,
the next gps.h comes with an api bump - the attached patch should be all thats needed. 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: s3d-0.2.2.1/apps/s3dosm/gps.c =================================================================== --- s3d-0.2.2.1.orig/apps/s3dosm/gps.c +++ s3d-0.2.2.1/apps/s3dosm/gps.c @@ -43,7 +43,11 @@ void show_gpsdata(struct gps_data_t *dgp printf("speed [kph]: %f\n", dgps->fix.speed / KNOTS_TO_KPH); printf("used %d/%d satellits\n", dgps->satellites_used, dgps->satellites_visible); +#if GPSD_API_MAJOR_VERSION >= 10 + switch (dgps->fix.status) { +#else switch (dgps->status) { +#endif case STATUS_NO_FIX: printf("status: no fix\n"); break;