Hi, so actually there was an API change, and ABI change.. and nothing was noted in NEWS, just well hidden instead :(
Patch to make it build is attached. Best regards, 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
>From da6fde7b1185ae6b1e62d4879fc338f10f26de22 Mon Sep 17 00:00:00 2001 From: Bernd Zeimetz <be...@bzed.de> Date: Tue, 14 Jan 2020 23:17:12 +0100 Subject: [PATCH] Add compatibility for gps.h API 9 Note: this ignores millisecond resolution. --- src/gps_functions.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/gps_functions.c b/src/gps_functions.c index c3dd201..3c85df7 100644 --- a/src/gps_functions.c +++ b/src/gps_functions.c @@ -753,7 +753,11 @@ cb_gpsd_data(GIOChannel *src, GIOCondition condition, gpointer data) { gpsdata->satellites_used = libgps_gpsdata.satellites_used; gpsdata->hdop = libgps_gpsdata.dop.hdop; +#if GPSD_API_MAJOR_VERSION >= 9 + gpsdata->fix.time = libgps_gpsdata.fix.time.tv_sec; +#else gpsdata->fix.time = libgps_gpsdata.fix.time; +#endif if (isnan(gpsdata->fix.time)) { gpsdata->fix.time = (time_t) 0; -- 2.25.0.rc2