mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-22 19:44:21 +01:00
f8257a466f
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
11 lines
493 B
Diff
11 lines
493 B
Diff
--- 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),
|