1 --- kde-workspace-4.11.22/plasma/generic/dataengines/geolocation/location_gps.cpp~ 2015-08-12 09:03:15.000000000 +0200
2 +++ kde-workspace-4.11.22/plasma/generic/dataengines/geolocation/location_gps.cpp 2019-11-02 20:29:50.196679637 +0100
5 Plasma::DataEngine::Data d;
7 -#if GPSD_API_MAJOR_VERSION >= 5
8 +#if GPSD_API_MAJOR_VERSION >= 6
9 + if (gps_read(m_gpsdata, NULL, 0) != -1) {
10 +#elif GPSD_API_MAJOR_VERSION >= 5
11 if (gps_read(m_gpsdata) != -1) {
13 if (gps_poll(m_gpsdata) != -1) {