summaryrefslogtreecommitdiff
path: root/recipes/prismstumbler/prismstumbler-0.7.3+0.7.4pre1/gpsapi.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/prismstumbler/prismstumbler-0.7.3+0.7.4pre1/gpsapi.patch')
-rw-r--r--recipes/prismstumbler/prismstumbler-0.7.3+0.7.4pre1/gpsapi.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/recipes/prismstumbler/prismstumbler-0.7.3+0.7.4pre1/gpsapi.patch b/recipes/prismstumbler/prismstumbler-0.7.3+0.7.4pre1/gpsapi.patch
new file mode 100644
index 0000000000..638a877b77
--- /dev/null
+++ b/recipes/prismstumbler/prismstumbler-0.7.3+0.7.4pre1/gpsapi.patch
@@ -0,0 +1,13 @@
+--- prismstumbler-0.7.4pre1/src/daemon/gpsctl.c~ 2007-04-04 00:10:03.000000000 +0200
++++ prismstumbler-0.7.4pre1/src/daemon/gpsctl.c 2007-04-04 00:10:03.000000000 +0200
+@@ -30,8 +30,8 @@
+ if(!gps_conn)
+ return 0;
+
+- *lat = (float) gps_conn->newdata.latitude;
+- *lon = (float) gps_conn->newdata.longitude;
++ *lat = (float) gps_conn->fix.latitude;
++ *lon = (float) gps_conn->fix.longitude;
+ return 1;
+ }
+