I am uploading a LowNMU to DELAYED/10 to fix this. The debdiff is attached.
diff -Nru foxtrotgps-1.2.2+bzr331/changelog/ChangeLog 
foxtrotgps-1.2.2+bzr332/changelog/ChangeLog
--- foxtrotgps-1.2.2+bzr331/changelog/ChangeLog 2021-08-17 14:19:23.000000000 
+0200
+++ foxtrotgps-1.2.2+bzr332/changelog/ChangeLog 2023-06-20 23:47:03.000000000 
+0200
@@ -1,4 +1,15 @@
 ------------------------------------------------------------
+revno: 332
+committer: Paul Wise <pa...@bonedaddy.net>
+branch nick: bzr
+timestamp: Wed 2023-05-17 09:38:04 +0800
+message:
+  Add support for gpsd API version 12
+
+  Reported-by: Boian Bonev <bbo...@ipacct.com>
+modified:
+  src/gps_functions.c
+------------------------------------------------------------
 revno: 331
 fixes bug: https://launchpad.net/bugs/1876744
 author: Jesse Gardner <jgardner7...@protonmail.com>
diff -Nru foxtrotgps-1.2.2+bzr331/debian/changelog 
foxtrotgps-1.2.2+bzr332/debian/changelog
--- foxtrotgps-1.2.2+bzr331/debian/changelog    2021-08-17 14:24:50.000000000 
+0200
+++ foxtrotgps-1.2.2+bzr332/debian/changelog    2023-06-20 23:37:19.000000000 
+0200
@@ -1,3 +1,10 @@
+foxtrotgps (1.2.2+bzr332-0.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * New upstream snapshot. (Closes: #1038749)
+
+ -- Bastian Germann <b...@debian.org>  Tue, 20 Jun 2023 23:37:19 +0200
+
 foxtrotgps (1.2.2+bzr331-1) unstable; urgency=medium
 
   * New upstream snapshot.
diff -Nru foxtrotgps-1.2.2+bzr331/src/gps_functions.c 
foxtrotgps-1.2.2+bzr332/src/gps_functions.c
--- foxtrotgps-1.2.2+bzr331/src/gps_functions.c 2021-08-17 08:01:48.000000000 
+0200
+++ foxtrotgps-1.2.2+bzr332/src/gps_functions.c 2023-05-17 03:38:04.000000000 
+0200
@@ -762,7 +762,9 @@
                {
                        gpsdata->fix.time = (time_t) 0;
                }
-#if GPSD_API_MAJOR_VERSION >= 10
+#if GPSD_API_MAJOR_VERSION >= 12
+               gpsdata->valid = (libgps_gpsdata.fix.status != STATUS_UNK || 
libgps_gpsdata.fix.mode >= MODE_2D);
+#elif GPSD_API_MAJOR_VERSION >= 10
                gpsdata->valid = (libgps_gpsdata.fix.status != STATUS_NO_FIX || 
libgps_gpsdata.fix.mode >= MODE_2D);
 #else
                gpsdata->valid = (libgps_gpsdata.status != STATUS_NO_FIX);

Reply via email to