File dream-2.1.1-gps_read.patch of Package dream

--- dream/src/DrmReceiver.cpp.orig	2013-11-11 17:33:44.000000000 +0100
+++ dream/src/DrmReceiver.cpp	2020-02-17 01:23:54.521531011 +0100
@@ -199,8 +199,10 @@
         if(Parameters.use_gpsd)
 # if GPSD_API_MAJOR_VERSION < 5
             result = gps_poll(gps_data);
-# else
+# elif GPSD_API_MAJOR_VERSION < 8
             result = gps_read(gps_data);
+# else
+            result = gps_read(gps_data, NULL, 0);
 # endif
         else
         {
openSUSE Build Service is sponsored by