]> git.pld-linux.org Git - packages/qlandkartegt.git/blame - gpsd-3.19.patch
- fix building with gpsd 3.19
[packages/qlandkartegt.git] / gpsd-3.19.patch
CommitLineData
7e2bd461
JR
1--- qlandkartegt-1.8.1/src/CDeviceGPSD.cpp~ 2014-08-08 11:53:27.000000000 +0200
2+++ qlandkartegt-1.8.1/src/CDeviceGPSD.cpp 2019-11-03 16:25:35.889558025 +0100
3@@ -212,7 +212,9 @@
4 } // if
5 else if( FD_ISSET( gpsdata->gps_fd, &fds ) )
6 {
7-#if GPSD_API_MAJOR_VERSION >= 5
8+#if GPSD_API_MAJOR_VERSION >= 6
9+ gps_read( gpsdata, NULL, 0 );
10+#elif GPSD_API_MAJOR_VERSION >= 5
11 gps_read( gpsdata );
12 #else
13 gps_poll( gpsdata );
This page took 0.066812 seconds and 4 git commands to generate.