Package: gpstrans / 0.41-13

Metadata

Package Version Patches format
gpstrans 0.41-13 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
1000 makefile no strip.diff | (download)

Makefile | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 do not strip binary by default.
1010 my getline.diff | (download)

src/getline/getline.c | 18 9 + 9 - 0 !
src/getline/getline.h | 4 2 + 2 - 0 !
src/prefs.c | 10 5 + 5 - 0 !
3 files changed, 16 insertions(+), 16 deletions(-)

 change getline() in my_getline()
 Changed getline() in my_getline() to avoid eglibc colliding names in
 getline.c.
1020 src makefile flags.diff | (download)

src/Makefile | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

 do not override exported cflags and ldflags
1030 fix makefile.diff | (download)

src/Makefile | 4 2 + 2 - 0 !
src/gps/Makefile | 2 1 + 1 - 0 !
src/grid/Makefile | 2 1 + 1 - 0 !
3 files changed, 4 insertions(+), 4 deletions(-)

 patch to add gcc hardening.
1040 libgetline re enable posix macro.diff | (download)

src/Makefile | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 re-enable posix macro for libgetline build
1050 appstream metainfo.patch | (download)

Makefile | 4 4 + 0 - 0 !
de.fu_berlin.unix.gps.gpstrans.metainfo.xml | 17 17 + 0 - 0 !
2 files changed, 21 insertions(+)

 added appstream metainfo xml with hardware provide info.
 This allow isenkram to propose this package when the USB dongle is
 present.
1060 gl in hook prototype.patch | (download)

src/getline/getline.c | 6 6 + 0 - 0 !
1 file changed, 6 insertions(+)

 avoid conflicting prototypes for gl_in_hook and friends.
 This ensure consistent prototypes are used with __STDC__ > 0,
 and bring the definitions in line with getline.h prototypes.
1070 64bit time.patch | (download)

src/gps/sendgpsinfo.c | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

 use time_t for ctime argument.
 This ensure the code handle 64 bit time on 32 bit architectures,
 fixing a build failure:
    sendgpsinfo.c: In function 'doWaypoint':
    sendgpsinfo.c:646:46: error: passing argument 1 of 'ctime' from incompatible pointer type [-Wincompatible-pointer-types]
      646 |       if(pkt.has.seconds) printf("%s", ctime(&pkt.seconds));
          |                                              ^~~~~~~~~~~~
          |                                              |
          |                                              long int *
    In file included from /usr/include/features.h:502,
                     from /usr/include/arm-linux-gnueabihf/bits/libc-header-start.h:33,
                     from /usr/include/stdio.h:28,
                     from ../include/defs.h:1,
                     from sendgpsinfo.c:33:
    /usr/include/time.h:187:14: note: expected 'const time_t *' {aka 'const long long int *'} but argument is of type 'long int *'
      187 | extern char *__REDIRECT_NTH (ctime, (const time_t *__timer), __ctime64);
          |              ^~~~~~~~~~~~~~
1080 migrate termios.patch | (download)

src/gps/garminserial.c | 9 4 + 5 - 0 !
1 file changed, 4 insertions(+), 5 deletions(-)

 replace termio usage with termios