[Marble-commits] KDE/kdeedu/marble/src/plugins/positionprovider/gpsd
Dennis Nienhüser
earthwings at gentoo.org
Fri Apr 23 19:25:45 CEST 2010
SVN commit 1117994 by nienhueser:
Fix gpsd data interpretation for libgps >= 2.90 (wrong flag used to determine if data is available)
CCBUG: 233603
M +2 -2 GpsdConnection.cpp
--- trunk/KDE/kdeedu/marble/src/plugins/positionprovider/gpsd/GpsdConnection.cpp #1117993:1117994
@@ -73,8 +73,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