tags 560242 + patch
thanks

Hi!

I found that the gps_query function has been removed. The simple fix
is to replace it with the gps_stream function (refer
http://gpsd.berlios.de/protocol-transition.html#_virtue_is_rewarded ).

Patch attached.

HTH, and thanks.

Kumar
-- 
To the guests that must go, bid God's speed and brush away all traces
of their steps.
- Rabindranath Tagore (The Gardener, 1915)
diff -Nru --exclude changelog gaia-0.1.2/programs/gaia/GPSSourceGPSD.cc gaia-0.1.2/programs/gaia/GPSSourceGPSD.cc
--- gaia-0.1.2/programs/gaia/GPSSourceGPSD.cc	2006-11-28 21:21:14.000000000 -0600
+++ gaia-0.1.2/programs/gaia/GPSSourceGPSD.cc	2009-12-11 22:32:00.000000000 -0600
@@ -23,7 +23,7 @@
 	if ((m_GPS = gps_open(server, port)) == 0)
 		throw Exception("gps_open() failed");
 
-	if (gps_query(m_GPS, "w+x\n") != 0)
+	if (gps_stream(m_GPS, WATCH_ENABLE, NULL) != 0)
 		throw Exception("initial gps_query() failed");
 }
 

Attachment: signature.asc
Description: Digital signature

Reply via email to