diff options
author | waldemar brodkorb <wbx@debian-lenny-amd64.foo.bar> | 2010-01-19 21:13:44 +0100 |
---|---|---|
committer | waldemar brodkorb <wbx@debian-lenny-amd64.foo.bar> | 2010-01-19 21:13:44 +0100 |
commit | fc4027a2b4f5a9384e8552b8dd515e53aae9444c (patch) | |
tree | 50d7d01b7347bb87dbb89ebc0c2dea3b3faac32e /package/gpsd | |
parent | bab1e7d41bff847933589ff6392c74597f18743b (diff) |
fix allmodconfig for foxboard
Diffstat (limited to 'package/gpsd')
-rw-r--r-- | package/gpsd/Makefile | 6 | ||||
-rw-r--r-- | package/gpsd/patches/patch-sirfflash_c | 11 |
2 files changed, 14 insertions, 3 deletions
diff --git a/package/gpsd/Makefile b/package/gpsd/Makefile index 845bf06b6..6adea4d87 100644 --- a/package/gpsd/Makefile +++ b/package/gpsd/Makefile @@ -5,13 +5,13 @@ include ${TOPDIR}/rules.mk PKG_NAME:= gpsd PKG_VERSION:= 2.39 -PKG_RELEASE:= 1 -PKG_BUILDDEP+= ncurses -PKG_CXX:= GPSD +PKG_RELEASE:= 2 PKG_MD5SUM:= 3db437196a6840c252fca99b6c19d4d0 PKG_DESCR:= An interface daemon for GPS receivers PKG_SECTION:= net PKG_DEPENDS:= libpthread +PKG_BUILDDEP+= ncurses +PKG_CXX:= GPSD PKG_SITES:= http://download.berlios.de/gpsd/ PKG_DESCR_1:= GPS client utilities diff --git a/package/gpsd/patches/patch-sirfflash_c b/package/gpsd/patches/patch-sirfflash_c new file mode 100644 index 000000000..979793a56 --- /dev/null +++ b/package/gpsd/patches/patch-sirfflash_c @@ -0,0 +1,11 @@ +--- gpsd-2.39.orig/sirfflash.c 2009-01-28 21:53:47.000000000 +0100 ++++ gpsd-2.39/sirfflash.c 2010-01-16 09:27:49.000000000 +0100 +@@ -193,7 +193,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); |