summaryrefslogtreecommitdiff
path: root/package/gpsd/patches
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-11-12 09:30:49 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2013-11-12 09:30:49 +0100
commit99ffeabcfc11ffb44d32583fc3d7db37f2fff9fd (patch)
tree3ed3a060ae98f2e7c01e8d2ace7f11a0e732d53d /package/gpsd/patches
parent42600701ca5f37210581fd3989796daceef58778 (diff)
update gpsd
Diffstat (limited to 'package/gpsd/patches')
-rw-r--r--package/gpsd/patches/patch-Makefile_in22
-rw-r--r--package/gpsd/patches/patch-driver_sirf_c11
-rw-r--r--package/gpsd/patches/patch-gpspipe_c11
-rw-r--r--package/gpsd/patches/patch-ltmain_sh20
4 files changed, 0 insertions, 64 deletions
diff --git a/package/gpsd/patches/patch-Makefile_in b/package/gpsd/patches/patch-Makefile_in
deleted file mode 100644
index b54aabbac..000000000
--- a/package/gpsd/patches/patch-Makefile_in
+++ /dev/null
@@ -1,22 +0,0 @@
---- gpsd-2.95.orig/Makefile.in 2010-07-14 00:48:24.000000000 +0200
-+++ gpsd-2.95/Makefile.in 2011-01-15 19:56:22.000000000 +0100
-@@ -612,8 +612,8 @@ libgps_la_SOURCES = $(libgps_c_sources)
- libgpsd_la_SOURCES = $(libgpsd_c_sources) $(libgpsd_h_sources) \
- driver_rtcm2.h packet_states.h
-
--@LIBGPSMM_ENABLE_FALSE@libgps_la_LINK = /bin/sh ./libtool --tag=CC --mode=link gcc $(libgps_la_LDFLAGS) -o $@
--@LIBGPSMM_ENABLE_TRUE@libgps_la_LINK = /bin/sh ./libtool --tag=CXX --mode=link g++ $(libgps_la_LDFLAGS) -o $@
-+@LIBGPSMM_ENABLE_FALSE@libgps_la_LINK = $(SHELL) ./libtool --tag=CC --mode=link gcc $(libgps_la_LDFLAGS) -o $@
-+@LIBGPSMM_ENABLE_TRUE@libgps_la_LINK = $(SHELL) ./libtool --tag=CXX --mode=link g++ $(libgps_la_LDFLAGS) -o $@
- nodist_libgpsd_la_SOURCES = packet_names.h ais_json.i
- libgps_la_LIBADD = $(LIBM) $(LIBC) $(LIBNSL) $(LIBSOCKET) $(LIBPTHREAD)
- libgpsd_la_LIBADD = $(LIBM) $(LIBC) $(LIBNSL) $(LIBSOCKET) $(LIBPTHREAD) $(BLUEZ_LIBS) libgps.la
-@@ -996,7 +996,7 @@ clean-libLTLIBRARIES:
- rm -f "$${dir}/so_locations"; \
- done
- libgps.la: $(libgps_la_OBJECTS) $(libgps_la_DEPENDENCIES)
-- $(libgps_la_LINK) -rpath $(libdir) $(libgps_la_OBJECTS) $(libgps_la_LIBADD) $(LIBS)
-+ $(libgps_la_LINK) -rpath $(libdir) $(libgps_la_OBJECTS) $(libgps_la_LIBADD) $(LDFLAGS) $(LIBS)
- libgpsd.la: $(libgpsd_la_OBJECTS) $(libgpsd_la_DEPENDENCIES)
- $(LINK) -rpath $(libdir) $(libgpsd_la_OBJECTS) $(libgpsd_la_LIBADD) $(LIBS)
- install-binPROGRAMS: $(bin_PROGRAMS)
diff --git a/package/gpsd/patches/patch-driver_sirf_c b/package/gpsd/patches/patch-driver_sirf_c
deleted file mode 100644
index 058978636..000000000
--- a/package/gpsd/patches/patch-driver_sirf_c
+++ /dev/null
@@ -1,11 +0,0 @@
---- 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 */
diff --git a/package/gpsd/patches/patch-gpspipe_c b/package/gpsd/patches/patch-gpspipe_c
deleted file mode 100644
index 2afd83621..000000000
--- a/package/gpsd/patches/patch-gpspipe_c
+++ /dev/null
@@ -1,11 +0,0 @@
---- gpsd-2.95.orig/gpspipe.c 2010-06-11 11:21:42.000000000 +0200
-+++ gpsd-2.95/gpspipe.c 2010-07-30 12:54:08.000000000 +0200
-@@ -120,7 +120,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);
diff --git a/package/gpsd/patches/patch-ltmain_sh b/package/gpsd/patches/patch-ltmain_sh
deleted file mode 100644
index 85a07afac..000000000
--- a/package/gpsd/patches/patch-ltmain_sh
+++ /dev/null
@@ -1,20 +0,0 @@
---- gpsd-2.95.orig/ltmain.sh 2010-06-18 22:54:26.000000000 +0200
-+++ gpsd-2.95/ltmain.sh 2011-01-15 20:23:12.000000000 +0100
-@@ -4765,7 +4765,7 @@ func_mode_link ()
- # -p, -pg, --coverage, -fprofile-* pass through profiling flag for GCC
- # @file GCC response files
- -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \
-- -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*)
-+ -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-fstack-protector*|-flto)
- func_quote_for_eval "$arg"
- arg="$func_quote_for_eval_result"
- func_append compile_command " $arg"
-@@ -4963,7 +4963,7 @@ func_mode_link ()
- done
-
- if test "$linkmode" = lib; then
-- libs="$predeps $libs $compiler_lib_search_path $postdeps"
-+ libs="$libs $compiler_lib_search_path"
-
- # Compute libraries that are listed more than once in $predeps
- # $postdeps and mark them as special (i.e., whose duplicates are