summaryrefslogtreecommitdiff
path: root/package/gpsd/patches/patch-driver_sirf_c
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-07-30 20:20:57 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2010-07-30 20:20:57 +0200
commite2454e75ec1ee4aa50af8e96838c3feb53904d08 (patch)
tree5a05596c49e3e1533236c478434e79660c5345b0 /package/gpsd/patches/patch-driver_sirf_c
parentee19c86dc8f3d69e9082d45d2824a18710311ecb (diff)
parent76acdb984750a027ddc2fc899e5a15d95251bb49 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/gpsd/patches/patch-driver_sirf_c')
-rw-r--r--package/gpsd/patches/patch-driver_sirf_c11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/gpsd/patches/patch-driver_sirf_c b/package/gpsd/patches/patch-driver_sirf_c
new file mode 100644
index 000000000..058978636
--- /dev/null
+++ b/package/gpsd/patches/patch-driver_sirf_c
@@ -0,0 +1,11 @@
+--- gpsd-2.95.orig/driver_sirf.c 2010-06-11 10:38:24.000000000 +0200
++++ gpsd-2.95/driver_sirf.c 2010-07-30 12:53:40.000000000 +0200
+@@ -325,7 +325,7 @@ static gps_mask_t sirf_msg_debug(unsigne
+ char msgbuf[MAX_PACKET_LENGTH * 3 + 2];
+ int i;
+
+- bzero(msgbuf, (int)sizeof(msgbuf));
++ memset(msgbuf, 0, (int)sizeof(msgbuf));
+
+ /*@ +charint @*/
+ if (0xe1 == buf[0]) { /* Development statistics messages */