]> git.pld-linux.org Git - packages/kde4-kdebase-workspace.git/blob - gpsd.patch
- versioned Obsoletes
[packages/kde4-kdebase-workspace.git] / gpsd.patch
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
3 @@ -51,7 +51,9 @@
4      while (!m_abort) {
5          Plasma::DataEngine::Data d;
6  
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) {
12  #else
13          if (gps_poll(m_gpsdata) != -1) {
This page took 0.081137 seconds and 3 git commands to generate.