diff -Nru obdgpslogger-0.16/debian/changelog obdgpslogger-0.16/debian/changelog --- obdgpslogger-0.16/debian/changelog 2016-06-03 18:42:52.000000000 +0200 +++ obdgpslogger-0.16/debian/changelog 2019-04-06 16:07:24.000000000 +0200 @@ -1,3 +1,10 @@ +obdgpslogger (0.16-1.4) UNRELEASED; urgency=medium + + * d/p/fix-libgps-API-change.patch: fix build issue + with newer gpsd version. + + -- Christian Ehrhardt Sat, 06 Apr 2019 16:07:24 +0200 + obdgpslogger (0.16-1.3) unstable; urgency=low * Non-maintainer upload. diff -Nru obdgpslogger-0.16/debian/patches/fix-libgps-API-change.patch obdgpslogger-0.16/debian/patches/fix-libgps-API-change.patch --- obdgpslogger-0.16/debian/patches/fix-libgps-API-change.patch 1970-01-01 01:00:00.000000000 +0100 +++ obdgpslogger-0.16/debian/patches/fix-libgps-API-change.patch 2019-04-06 16:07:24.000000000 +0200 @@ -0,0 +1,20 @@ +Description: libgps changed gps_read + libgps changed gps_read in commit + https://git.savannah.gnu.org/cgit/gpsd.git/commit/?id=6bba8b329f + which means we need to adapt to be able to rebuild. +Forwarded: no (doesn't apply there without our v3 patch) +Author: Christian Ehrhardt +Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=926521 +Last-Update: 2019-04-06 + +--- a/src/logger/gpscomm.c ++++ b/src/logger/gpscomm.c +@@ -68,7 +68,7 @@ int getgpsposition(struct gps_data_t *g, + count = select(g->gps_fd + 1, &fds, NULL, NULL, &timeout); + if(count > 0) { + #ifdef HAVE_GPSD_V3 +- gps_read(g); ++ gps_read(g, NULL, 0); + #else + gps_query(g, "o"); + #endif //HAVE_GPSD_V3 diff -Nru obdgpslogger-0.16/debian/patches/series obdgpslogger-0.16/debian/patches/series --- obdgpslogger-0.16/debian/patches/series 2012-06-23 08:40:38.000000000 +0200 +++ obdgpslogger-0.16/debian/patches/series 2019-04-06 16:04:28.000000000 +0200 @@ -1,2 +1,3 @@ debian-changes-0.16-1.1 gpsd_v3 +fix-libgps-API-change.patch