diff options
author | wbx <wbx@hydrogenium.(none)> | 2009-05-17 14:41:34 +0200 |
---|---|---|
committer | wbx <wbx@hydrogenium.(none)> | 2009-05-17 14:41:34 +0200 |
commit | 219a6dab8995aad9ac4860cc1a84d6f3509a03a4 (patch) | |
tree | b9c0f3c43aebba2fcfef777592d0add39f2072f4 /package/gpsd/patches |
Initial import
Diffstat (limited to 'package/gpsd/patches')
-rw-r--r-- | package/gpsd/patches/patch-gpsd_h | 24 | ||||
-rw-r--r-- | package/gpsd/patches/patch-sirfflash_c | 12 |
2 files changed, 36 insertions, 0 deletions
diff --git a/package/gpsd/patches/patch-gpsd_h b/package/gpsd/patches/patch-gpsd_h new file mode 100644 index 000000000..50c8db101 --- /dev/null +++ b/package/gpsd/patches/patch-gpsd_h @@ -0,0 +1,24 @@ +$Id: update-patches 24 2008-08-31 14:56:13Z wbx $ +--- gpsd-2.37.orig/gpsd.h 2008-02-17 18:47:00.000000000 +0100 ++++ gpsd-2.37/gpsd.h 2008-10-09 14:08:46.000000000 +0200 +@@ -22,16 +22,16 @@ + /* #undef DBUS_ENABLE */ + #define EARTHMATE_ENABLE 1 + #define EVERMORE_ENABLE 1 +-/* #undef FV18_ENABLE */ ++#define FV18_ENABLE 1 + /* #undef GARMINTXT_ENABLE */ + #define GARMIN_ENABLE 1 + #define GPSCLOCK_ENABLE 1 + #define ITRAX_ENABLE 1 + #define NAVCOM_ENABLE 1 + #define NMEA_ENABLE 1 +-/* #undef NTPSHM_ENABLE */ +-/* #undef NTRIP_ENABLE */ +-/* #undef PPS_ENABLE */ ++#define NTPSHM_ENABLE 1 ++#define NTRIP_ENABLE 1 ++#define PPS_ENABLE 1 + #define RTCM104_ENABLE 1 + #define SIRF_ENABLE 1 + /* #undef SQUELCH_ENABLE */ diff --git a/package/gpsd/patches/patch-sirfflash_c b/package/gpsd/patches/patch-sirfflash_c new file mode 100644 index 000000000..3664b374f --- /dev/null +++ b/package/gpsd/patches/patch-sirfflash_c @@ -0,0 +1,12 @@ +$Id: update-patches 24 2008-08-31 14:56:13Z wbx $ +--- gpsd-2.37.orig/sirfflash.c 2007-10-12 15:44:48.000000000 +0200 ++++ gpsd-2.37/sirfflash.c 2008-10-09 14:17:23.000000000 +0200 +@@ -166,7 +166,7 @@ sirfSetProto(int pfd, struct termios *te + + sirf[7] = sirf[6] = (unsigned char)proto; + /*@i@*/i = htonl(speed); /* borrow "i" to put speed into proper byte order */ +- /*@i@*/bcopy(&i, sirf+8, 4); ++ /*@i@*/memcpy(sirf+8, &i, 4); + + /* send at whatever baud we're currently using */ + (void)sirf_write(pfd, sirf); |