diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2009-06-13 14:56:04 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2009-06-13 14:56:04 +0200 |
commit | 6d7a7f4776711758cf5b59028378f01cd8eba493 (patch) | |
tree | 67cc0ff4f56a0d7e1deff1d0a39867d486c86a9b /package/gpsd/patches/patch-gpspipe_c | |
parent | 18b38b0eb68cbcb8793efe989dcd8796a60288af (diff) |
FreeBSD compatibility patches
- update ipset and libpri to latest upstream
Diffstat (limited to 'package/gpsd/patches/patch-gpspipe_c')
-rw-r--r-- | package/gpsd/patches/patch-gpspipe_c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/package/gpsd/patches/patch-gpspipe_c b/package/gpsd/patches/patch-gpspipe_c new file mode 100644 index 000000000..d840a2a36 --- /dev/null +++ b/package/gpsd/patches/patch-gpspipe_c @@ -0,0 +1,11 @@ +--- gpsd-2.39.orig/gpspipe.c 2009-03-03 00:22:49.000000000 +0100 ++++ gpsd-2.39/gpspipe.c 2009-06-13 09:14:14.000000000 +0200 +@@ -108,7 +108,7 @@ static void open_serial(char* device) + } + + /* Clear struct for new port settings. */ +- /*@i@*/bzero(&newtio, sizeof(newtio)); ++ /*@i@*/memset(&newtio, 0, sizeof(newtio)); + + /* make it raw */ + (void)cfmakeraw(&newtio); |