diff --git a/foxtrotgps.spec b/foxtrotgps.spec index 4ae88e8..b318140 100644 --- a/foxtrotgps.spec +++ b/foxtrotgps.spec @@ -1,10 +1,11 @@ Name: foxtrotgps Version: 1.2.1 -Release: 4%{?dist} +Release: 5%{?dist} Summary: GTK+ mapping and GPS application License: GPLv2 URL: http://www.foxtrotgps.org Source0: http://www.foxtrotgps.org/releases/%{name}-%{version}.tar.xz +Patch0: gpsd-23.patch BuildRequires: gcc BuildRequires: bluez-libs-devel @@ -43,6 +44,7 @@ additionally a variety of other repositories can easily be added. %prep %setup -q +%patch0 -p1 %build %configure @@ -80,6 +82,10 @@ rm -rf %{buildroot}/usr/share/info/dir %{_datadir}/%{name} %changelog + +* Sun Apr 28 2019 Tilmann Bubeck - 1.2.1-5 +- Patched for gpsd-3.18. + * Wed Apr 24 2019 Björn Esser - 1.2.1-4 - Remove hardcoded gzip suffix from GNU info pages diff --git a/gpsd-23.patch b/gpsd-23.patch new file mode 100644 index 0000000..4488568 --- /dev/null +++ b/gpsd-23.patch @@ -0,0 +1,11 @@ +--- foxtrotgps-1.2.1.tar/foxtrotgps-1.2.1/src/gps_functions.c 2018-04-08 04:57:59.000000000 +0200 ++++ foxtrotgps-1.2.1/src/gps_functions.c 2019-04-28 09:22:45.211174216 +0200 +@@ -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),