[Marble-commits] branches/KDE/4.4/kdeedu/marble/src/plugins/positionprovider/gpsd

Dennis Nienhüser earthwings at gentoo.org
Fri Apr 23 21:52:32 CEST 2010


SVN commit 1118063 by nienhueser:

Fix gpsd data interpretation for libgps >= 2.90 (wrong flag used to determine if data is available). Backport of commit 1117994.
CCBUG: 233603


 M  +2 -2      GpsdConnection.cpp  


--- branches/KDE/4.4/kdeedu/marble/src/plugins/positionprovider/gpsd/GpsdConnection.cpp #1118062:1118063
@@ -32,8 +32,8 @@
 void GpsdConnection::update()
 {
     gps_data_t* data = 0;
-#if defined( GPSD_API_MAJOR_VERSION ) && ( GPSD_API_MAJOR_VERSION >= 3 ) && defined( POLICY_SET )
-    while ((data = m_gpsd.poll()) && !(data->set & POLICY_SET)) {
+#if defined( GPSD_API_MAJOR_VERSION ) && ( GPSD_API_MAJOR_VERSION >= 3 ) && defined( PACKET_SET )
+    while ((data = m_gpsd.poll()) && !(data->set & PACKET_SET)) {
         data = m_gpsd.poll();
     }
 #else


More information about the Marble-commits mailing list