summaryrefslogtreecommitdiffstats
path: root/gis/foxtrotgps/foxtrotgps-gpsd-3.18.patch
diff options
context:
space:
mode:
author David Spencer2018-10-21 00:40:16 +0200
committer Willy Sudiarto Raharjo2018-10-21 01:47:03 +0200
commitf8257a466f1379ed75e6107bc1672f91494670dd (patch)
treed15ab22d1f1a4c4741ce1ebc7fe923236046b036 /gis/foxtrotgps/foxtrotgps-gpsd-3.18.patch
parent6b71a363e9e85bf83596ddc6e69bfe8956ae4046 (diff)
downloadslackbuilds-f8257a466f1379ed75e6107bc1672f91494670dd.tar.gz
gis/foxtrotgps: Fix build with gpsd-3.18.1.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'gis/foxtrotgps/foxtrotgps-gpsd-3.18.patch')
-rw-r--r--gis/foxtrotgps/foxtrotgps-gpsd-3.18.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/gis/foxtrotgps/foxtrotgps-gpsd-3.18.patch b/gis/foxtrotgps/foxtrotgps-gpsd-3.18.patch
new file mode 100644
index 0000000000..db19d19a28
--- /dev/null
+++ b/gis/foxtrotgps/foxtrotgps-gpsd-3.18.patch
@@ -0,0 +1,11 @@
+--- foxtrotgps-1.2.1/src/gps_functions.c.orig 2018-10-09 17:00:10.297646701 +0000
++++ foxtrotgps-1.2.1/src/gps_functions.c 2018-10-09 17:00:43.751114273 +0000
+@@ -738,7 +738,7 @@
+ if (!libgps_initialized)
+ return FALSE;
+
+- ret = gps_read(&libgps_gpsdata);
++ ret = gps_read(&libgps_gpsdata, NULL, 0);
+ /* Note that gps_read() will never actually return 0
+ (zero-length reads are converted internally to a -1 return,
+ since they mean that the connection to the daemon has closed),