lrzsz: upgrade 0.12.20 -> 0.13.1
PATCH 1/1 lrzsz: upgrade 0.12.20 -> 0.13.1
ChangeLog: https://github.com/UweOhse/lrzsz/blob/release_0.13.1/ChangeLog
Version 0.13.1 - October 2026, Uwe Ohse
In this release one recently implemented feature (ESC8 - high bit escaping) was removed after Stephen Hurd (of zmtx-zmrx) informed me about its incompatibility. A list of known incompatibilities between the 0.12 and the 0.13 series exists.
NEWS: https://www.ohse.de/uwe/software/lrzsz/NEWS-0.13.0.html
Upstream resumed activity and released 0.13.1, the first release in decades. It incorporates equivalents of all the fixes carried locally, so the full patch stack is dropped:
- Drop autotools-update/autotools/makefile/lrzsz-check-locale.h patches Upstream reworked the autotools/gettext setup (external gettext, configure.ac, intl/ and ansi2knr removed).
- Drop cve-2018-10195.patch
zsdata() integer overflow is fixed upstream.
- Drop include/0001-Fix-build-with-GCC-15/K&R-to-ANSI patches Targeted the lib/ tree and K&R prototypes that no longer exist; src/lsyslog.c already carries the added includes.
- Drop 0001-Fix-cross-compilation-using-autoconf-detected-AR.patch No static archive is built any more, so no host 'ar' is invoked.
Also drop the -Wno-error=incompatible-pointer-types workaround as the src/tcp.c it covered was removed upstream.
Tested on qemux86-64: builds under -Werror -std=c23, passes package QA, and upstream 'make vcheck' passes the zmodem/ymodem/xmodem transfer and traversal/restricted-mode tests.
---
.../0001-Fix-build-with-GCC-15.patch | 186 -
...mpilation-using-autoconf-detected-AR.patch | 36 -
...R-function-definitions-to-ANSI-C-pro.patch | 64 -
.../lrzsz-0.12.20/autotools-update.patch | 5749 -----------------
.../lrzsz/lrzsz-0.12.20/autotools.patch | 39 -
.../lrzsz/lrzsz-0.12.20/cve-2018-10195.patch | 28 -
.../lrzsz/lrzsz-0.12.20/include.patch | 25 -
.../lrzsz-0.12.20/lrzsz-check-locale.h.patch | 32 -
.../lrzsz/lrzsz-0.12.20/makefile.patch | 22 -
.../{lrzsz_0.12.20.bb => lrzsz_0.13.1.bb} | 20 +-
10 files changed, 2 insertions(+), 6199 deletions(-)
delete mode 100644 meta/recipes-bsp/lrzsz/lrzsz-0.12.20/0001-Fix-build-with-GCC-15.patch
delete mode 100644 meta/recipes-bsp/lrzsz/lrzsz-0.12.20/0001-Fix-cross-compilation-using-autoconf-detected-AR.patch
delete mode 100644 meta/recipes-bsp/lrzsz/lrzsz-0.12.20/0001-lrzsz-convert-K-R-function-definitions-to-ANSI-C-pro.patch
delete mode 100644 meta/recipes-bsp/lrzsz/lrzsz-0.12.20/autotools-update.patch
delete mode 100644 meta/recipes-bsp/lrzsz/lrzsz-0.12.20/autotools.patch
delete mode 100644 meta/recipes-bsp/lrzsz/lrzsz-0.12.20/cve-2018-10195.patch
delete mode 100644 meta/recipes-bsp/lrzsz/lrzsz-0.12.20/include.patch
delete mode 100644 meta/recipes-bsp/lrzsz/lrzsz-0.12.20/lrzsz-check-locale.h.patch
delete mode 100644 meta/recipes-bsp/lrzsz/lrzsz-0.12.20/makefile.patch
rename meta/recipes-bsp/lrzsz/{lrzsz_0.12.20.bb => lrzsz_0.13.1.bb} (52%)meta/recipes-bsp/lrzsz/lrzsz-0.12.20/0001-Fix-build-with-GCC-15.patch deleted +0 -186
@@ -1,186 +0,0 @@ -From 3739faa41f60841d5277344b17ddc69e78ed8996 Mon Sep 17 00:00:00 2001 -From: Khem Raj <[email protected]> -Date: Sat, 22 Mar 2025 22:58:33 -0700 -Subject: [PATCH] Fix build with GCC 15 - -This is collection of changes needed to get compiling with gcc-15 -which switched to use C23 as default std. - -Upstream-Status: Submitted [https://github.com/UweOhse/lrzsz/pull/8] -Signed-off-by: Khem Raj <[email protected]> ---- - lib/error.c | 2 +- - lib/getopt.h | 2 +- - lib/long-options.c | 4 ++-- - lib/long-options.h | 2 +- - lib/xstrtol.c | 2 -- - src/lrz.c | 8 +------- - src/lsz.c | 8 +------- - src/tcp.c | 2 +- - src/zglobal.h | 2 +- - src/zreadline.c | 2 +- - 10 files changed, 10 insertions(+), 24 deletions(-) - -diff --git a/lib/error.c b/lib/error.c -index 8f679c7..4632c9c 100644 ---- a/lib/error.c -+++ b/lib/error.c -@@ -73,7 +73,7 @@ extern char *program_name; - - # if HAVE_STRERROR - # ifndef strerror /* On some systems, strerror is a macro */ --char *strerror (); -+char *strerror (int); - # endif - # else - static char * -diff --git a/lib/getopt.h b/lib/getopt.h -index 4ac33b7..46971cb 100644 ---- a/lib/getopt.h -+++ b/lib/getopt.h -@@ -101,7 +101,7 @@ struct option - errors, only prototype getopt for the GNU C library. */ - extern int getopt (int argc, char *const *argv, const char *shortopts); - #else /* not __GNU_LIBRARY__ */ --extern int getopt (); -+extern int getopt (int, char * const [], const char *); - #endif /* __GNU_LIBRARY__ */ - extern int getopt_long (int argc, char *const *argv, const char *shortopts, - const struct option *longopts, int *longind); -diff --git a/lib/long-options.c b/lib/long-options.c -index 9ee8f66..2c8d267 100644 ---- a/lib/long-options.c -+++ b/lib/long-options.c -@@ -40,7 +40,7 @@ parse_long_options (argc, argv,version, usage) - int argc; - char **argv; - void (*version)(); -- void (*usage)(); -+ void (*usage)(int); - { - int c; - int saved_opterr; -@@ -61,7 +61,7 @@ parse_long_options (argc, argv,version, usage) - (*usage) (0); - - case 'v': -- (*version) (0); -+ (*version) (); - /* printf ("%s (%s) %s\n", command_name, package, version_string); */ - exit (0); - -diff --git a/lib/long-options.h b/lib/long-options.h -index 14459cd..3fb8fa6 100644 ---- a/lib/long-options.h -+++ b/lib/long-options.h -@@ -6,5 +6,5 @@ - #endif - - void parse_long_options __P ((int _argc, char **_argv, -- void (*_version) (void), -+ void (*_version) (), - void (*_usage) (int))); -diff --git a/lib/xstrtol.c b/lib/xstrtol.c -index 8755cf4..0ab337d 100644 ---- a/lib/xstrtol.c -+++ b/lib/xstrtol.c -@@ -65,8 +65,6 @@ extern int errno; - } \ - while (0) - --__unsigned long int __strtol (); -- - /* FIXME: comment. */ - - strtol_error -diff --git a/src/lrz.c b/src/lrz.c -index b3cf1d5..ae3c62d 100644 ---- a/src/lrz.c -+++ b/src/lrz.c -@@ -41,12 +41,6 @@ - #include "xstrtoul.h" - #include "error.h" - --#ifndef STRICT_PROTOTYPES --extern time_t time(); --extern char *strerror(); --extern char *strstr(); --#endif -- - #ifndef HAVE_ERRNO_DECLARATION - extern int errno; - #endif -@@ -191,7 +185,7 @@ int enable_syslog=FALSE; - - - /* called by signal interrupt or terminate to clean things up */ --RETSIGTYPE -+void - bibi(int n) - { - if (zmodem_requested) -diff --git a/src/lsz.c b/src/lsz.c -index e9e4660..69f4fb8 100644 ---- a/src/lsz.c -+++ b/src/lsz.c -@@ -50,12 +50,6 @@ void *mm_addr=NULL; - #include "xstrtoul.h" - #include "error.h" - --#ifndef STRICT_PROTOTYPES --extern time_t time(); --extern char *strerror(); --extern char *strstr(); --#endif -- - #ifndef HAVE_ERRNO_DECLARATION - extern int errno; - #endif -@@ -218,7 +212,7 @@ static int zrqinits_sent=0; - static int play_with_sigint=0; - - /* called by signal interrupt or terminate to clean things up */ --RETSIGTYPE -+void - bibi (int n) - { - canit(STDOUT_FILENO); -diff --git a/src/tcp.c b/src/tcp.c -index 137f94c..a885d5b 100644 ---- a/src/tcp.c -+++ b/src/tcp.c -@@ -38,7 +38,7 @@ - #include <stdlib.h> - #include "error.h" - --static RETSIGTYPE -+static void - tcp_alarm_handler(int dummy LRZSZ_ATTRIB_UNUSED) - { - /* doesn't need to do anything */ -diff --git a/src/zglobal.h b/src/zglobal.h -index 573b461..55bd58f 100644 ---- a/src/zglobal.h -+++ b/src/zglobal.h -@@ -357,7 +357,7 @@ extern int no_timeout; - extern int Zctlesc; /* Encode control characters */ - extern int under_rsh; - --RETSIGTYPE bibi __P ((int n)); -+void bibi __P ((int n)); - - #define sendline(c) putchar((c) & 0377) - #define xsendline(c) putchar(c) -diff --git a/src/zreadline.c b/src/zreadline.c -index aeda95c..c8f8263 100644 ---- a/src/zreadline.c -+++ b/src/zreadline.c -@@ -43,7 +43,7 @@ static char *readline_buffer; - int readline_left=0; - char *readline_ptr; - --static RETSIGTYPE -+static void - zreadline_alarm_handler(int dummy LRZSZ_ATTRIB_UNUSED) - { - /* doesn't need to do anything */
meta/recipes-bsp/lrzsz/lrzsz-0.12.20/0001-Fix-cross-compilation-using-autoconf-detected-AR.patch deleted +0 -36
@@ -1,36 +0,0 @@ -From ecdcf0df6c28c65ca6d1e5638726e13e373c76c5 Mon Sep 17 00:00:00 2001 -From: Khem Raj <[email protected]> -Date: Wed, 11 Nov 2020 22:58:55 -0800 -Subject: [PATCH] Fix cross compilation using autoconf detected AR - -currently its using 'ar' program from build host, which is not expected, -we need to respect AR passed in environment - -Upstream-Status: Inappropriate [upstream hasn't been active since 1998] - -Signed-off-by: Khem Raj <[email protected]> ---- - configure.in | 7 +++++++ - 1 file changed, 7 insertions(+) - -diff --git a/configure.in b/configure.in -index 4ddbe8b..b7c3c31 100644 ---- a/configure.in -+++ b/configure.in -@@ -84,6 +84,13 @@ AC_ARG_ENABLE(syslog, - ]) - - dnl Checks for programs. -+m4_ifndef([AC_PROG_AR],[dnl -+ AN_MAKEVAR([AR], [AC_PROG_AR]) -+ AN_PROGRAM([ar], [AC_PROG_AR]) -+ AC_DEFUN([AC_PROG_AR], -+ [AC_CHECK_TOOL(AR, ar, :)]) -+]) -+AC_PROG_AR - AC_PROG_CC - AC_PROG_GCC_TRADITIONAL - dnl AC_PROG_INSTALL included in AM_INIT_AUTOMAKE --- -2.29.2 -
meta/recipes-bsp/lrzsz/lrzsz-0.12.20/0001-lrzsz-convert-K-R-function-definitions-to-ANSI-C-pro.patch deleted +0 -64
64 lines not on this page · raw message
meta/recipes-bsp/lrzsz/lrzsz-0.12.20/autotools-update.patch deleted +0 -5749
2,714 lines not on this page · raw message
meta/recipes-bsp/lrzsz/lrzsz-0.12.20/autotools.patch deleted +0 -39
Lines of this file are not shown. View the raw message.
meta/recipes-bsp/lrzsz/lrzsz-0.12.20/cve-2018-10195.patch deleted +0 -28
Lines of this file are not shown. View the raw message.
meta/recipes-bsp/lrzsz/lrzsz-0.12.20/include.patch deleted +0 -25
Lines of this file are not shown. View the raw message.
meta/recipes-bsp/lrzsz/lrzsz-0.12.20/lrzsz-check-locale.h.patch deleted +0 -32
Lines of this file are not shown. View the raw message.
meta/recipes-bsp/lrzsz/lrzsz-0.12.20/makefile.patch deleted +0 -22
Lines of this file are not shown. View the raw message.
meta/recipes-bsp/lrzsz/lrzsz_0.13.1.bb renamed from meta/recipes-bsp/lrzsz/lrzsz_0.12.20.bb +2 -18
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
Part of the diff is not shown here. View the raw message.
Quoted 27 lines · Jaipaul Cheernam
ChangeLog: https://github.com/UweOhse/lrzsz/blob/release_0.13.1/ChangeLog
Version 0.13.1 - October 2026, Uwe Ohse
In this release one recently implemented feature (ESC8 - high bit escaping) was removed after Stephen Hurd (of zmtx-zmrx) informed me about its incompatibility. A list of known incompatibilities between the 0.12 and the 0.13 series exists.NEWS: https://www.ohse.de/uwe/software/lrzsz/NEWS-0.13.0.html
Upstream resumed activity and released 0.13.1, the first release in decades. It incorporates equivalents of all the fixes carried locally, so the full patch stack is dropped:
- Drop
autotools-update/autotools/makefile/lrzsz-check-locale.hpatches Upstream reworked the autotools/gettext setup (external gettext, configure.ac, intl/ and ansi2knr removed).
- Drop cve-2018-10195.patch
zsdata()integer overflow is fixed upstream.
- Drop include/0001-Fix-build-with-GCC-15/K&R-to-ANSI patches Targeted thelib/tree and K&R prototypes that no longer exist;src/lsyslog.calready carries the added includes.
- Drop 0001-Fix-cross-compilation-using-autoconf-detected-AR.patch No static archive is built any more, so no host 'ar' is invoked.Also drop the -Wno-error=incompatible-pointer-types workaround as the
src/tcp.cit covered was removed upstream.
Quoted 6 lines
Tested on qemux86-64: builds under -Werror -std=c23, passes package QA, and upstream 'make vcheck' passes the zmodem/ymodem/xmodem transfer and traversal/restricted-mode tests.
Signed-off-by Jaipaul Cheernam <[email protected]>---
Hi Jaipaul,
We can see some failures, only on x86 builds:
ERROR: lib32-lrzsz-0.13.1-r0 do_compile: Execution of '/srv/pokybuild/yocto-worker/qemux86-world/build/build/tmp/work/x86-pokymllib32-linux/lib32-lrzsz/0.13.1/temp/run.do_compile.3925122' failed with exit code 1
...
| ../../sources/lrzsz-0.13.1/src/linesimulator.c: In function 'xorshift64': | ../../sources/lrzsz-0.13.1/src/linesimulator.c:126:13: error: conversion from 'long long unsigned int' to 'long unsigned int' changes value from '11400714819323198485' to '2135587861' [-Werror=overflow] | 126 | x = 0x9E3779B97F4A7C15UL; | | ^~~~~~~~~~~~~~~~~~~~ | ../../sources/lrzsz-0.13.1/src/linesimulator.c: In function 'es_seed': | ../../sources/lrzsz-0.13.1/src/linesimulator.c:344:19: error: conversion from 'long long unsigned int' to 'long unsigned int' changes value from '11400714819323198485' to '2135587861' [-Werror=overflow] | 344 | es->rng = 0x9E3779B97F4A7C15UL; | | ^~~~~~~~~~~~~~~~~~~~ | cc1: all warnings being treated as errors | make[2]: *** [Makefile:491: linesimulator.o] Error 1 | make[2]: *** Waiting for unfinished jobs.... | make[2]: Leaving directory '/srv/pokybuild/yocto-worker/qemux86-world/build/build/tmp/work/x86-pokymllib32-linux/lib32-lrzsz/0.13.1/build/src' | make[1]: *** [Makefile:434: all-recursive] Error 1 | make[1]: Leaving directory '/srv/pokybuild/yocto-worker/qemux86-world/build/build/tmp/work/x86-pokymllib32-linux/lib32-lrzsz/0.13.1/build' | make: *** [Makefile:373: all] Error 2 | ERROR: oe_runmake failed
https://autobuilder.yoctoproject.org/valkyrie/#/builders/59/builds/4892
https://autobuilder.yoctoproject.org/valkyrie/#/builders/6/builds/4888
https://autobuilder.yoctoproject.org/valkyrie/#/builders/17/builds/4717
https://autobuilder.yoctoproject.org/valkyrie/#/builders/19/builds/4861
https://autobuilder.yoctoproject.org/valkyrie/#/builders/65/builds/4833
Can you have a look at the issue?
Thanks,
Mathieu
Signature · 3 lines
Mathieu Dubois-Briand, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
PATCH v2 1/1 lrzsz: upgrade 0.12.20 -> 0.13.1
In reply to Jaipaul CheernamChangeLog: https://github.com/UweOhse/lrzsz/blob/release_0.13.1/ChangeLog
Version 0.13.1 - October 2026, Uwe Ohse
In this release one recently implemented feature (ESC8 - high bit escaping) was removed after Stephen Hurd (of zmtx-zmrx) informed me about its incompatibility. A list of known incompatibilities between the 0.12 and the 0.13 series exists.
NEWS: https://www.ohse.de/uwe/software/lrzsz/NEWS-0.13.0.html
Upstream resumed activity and released 0.13.1, the first release in decades. It incorporates equivalents of most of the fixes carried locally, so the existing patch stack is dropped:
- Drop autotools-update/autotools/makefile/lrzsz-check-locale.h patches Upstream reworked the autotools/gettext setup (external gettext, configure.ac, intl/ and ansi2knr removed).
- Drop cve-2018-10195.patch
zsdata() integer overflow is fixed upstream.
- Drop include/0001-Fix-build-with-GCC-15/K&R-to-ANSI patches Targeted the lib/ tree and K&R prototypes that no longer exist; src/lsyslog.c already carries the added includes.
- Drop 0001-Fix-cross-compilation-using-autoconf-detected-AR.patch No static archive is built any more, so no host 'ar' is invoked.
Also drop the -Wno-error=incompatible-pointer-types workaround as the src/tcp.c it covered was removed upstream.
Add 0001-Fix-build-with-32-bit-targets-under-Werror.patch Submitted upstream as https://github.com/UweOhse/lrzsz/pull/2.
Tested on qemux86-64 and qemux86 (core2-32): both build under -Werror -std=c23 and pass package QA, and upstream 'make vcheck' passes the zmodem/ymodem/xmodem transfer and traversal/restricted-mode tests.
---
Changes Since v1:
- Add a patch for 32 bit targets
.../0001-Fix-build-with-GCC-15.patch | 186 -
...mpilation-using-autoconf-detected-AR.patch | 36 -
...R-function-definitions-to-ANSI-C-pro.patch | 64 -
.../lrzsz-0.12.20/autotools-update.patch | 5749 -----------------
.../lrzsz/lrzsz-0.12.20/autotools.patch | 39 -
.../lrzsz/lrzsz-0.12.20/cve-2018-10195.patch | 28 -
.../lrzsz/lrzsz-0.12.20/include.patch | 25 -
.../lrzsz-0.12.20/lrzsz-check-locale.h.patch | 32 -
.../lrzsz/lrzsz-0.12.20/makefile.patch | 22 -
...ild-with-32-bit-targets-under-Werror.patch | 121 +
.../{lrzsz_0.12.20.bb => lrzsz_0.13.1.bb} | 18 +-
11 files changed, 123 insertions(+), 6197 deletions(-)
delete mode 100644 meta/recipes-bsp/lrzsz/lrzsz-0.12.20/0001-Fix-build-with-GCC-15.patch
delete mode 100644 meta/recipes-bsp/lrzsz/lrzsz-0.12.20/0001-Fix-cross-compilation-using-autoconf-detected-AR.patch
delete mode 100644 meta/recipes-bsp/lrzsz/lrzsz-0.12.20/0001-lrzsz-convert-K-R-function-definitions-to-ANSI-C-pro.patch
delete mode 100644 meta/recipes-bsp/lrzsz/lrzsz-0.12.20/autotools-update.patch
delete mode 100644 meta/recipes-bsp/lrzsz/lrzsz-0.12.20/autotools.patch
delete mode 100644 meta/recipes-bsp/lrzsz/lrzsz-0.12.20/cve-2018-10195.patch
delete mode 100644 meta/recipes-bsp/lrzsz/lrzsz-0.12.20/include.patch
delete mode 100644 meta/recipes-bsp/lrzsz/lrzsz-0.12.20/lrzsz-check-locale.h.patch
delete mode 100644 meta/recipes-bsp/lrzsz/lrzsz-0.12.20/makefile.patch
create mode 100644 meta/recipes-bsp/lrzsz/lrzsz/0001-Fix-build-with-32-bit-targets-under-Werror.patch
rename meta/recipes-bsp/lrzsz/{lrzsz_0.12.20.bb => lrzsz_0.13.1.bb} (55%)meta/recipes-bsp/lrzsz/lrzsz-0.12.20/0001-Fix-build-with-GCC-15.patch deleted +0 -186
@@ -1,186 +0,0 @@ -From 3739faa41f60841d5277344b17ddc69e78ed8996 Mon Sep 17 00:00:00 2001 -From: Khem Raj <[email protected]> -Date: Sat, 22 Mar 2025 22:58:33 -0700 -Subject: [PATCH] Fix build with GCC 15 - -This is collection of changes needed to get compiling with gcc-15 -which switched to use C23 as default std. - -Upstream-Status: Submitted [https://github.com/UweOhse/lrzsz/pull/8] -Signed-off-by: Khem Raj <[email protected]> ---- - lib/error.c | 2 +- - lib/getopt.h | 2 +- - lib/long-options.c | 4 ++-- - lib/long-options.h | 2 +- - lib/xstrtol.c | 2 -- - src/lrz.c | 8 +------- - src/lsz.c | 8 +------- - src/tcp.c | 2 +- - src/zglobal.h | 2 +- - src/zreadline.c | 2 +- - 10 files changed, 10 insertions(+), 24 deletions(-) - -diff --git a/lib/error.c b/lib/error.c -index 8f679c7..4632c9c 100644 ---- a/lib/error.c -+++ b/lib/error.c -@@ -73,7 +73,7 @@ extern char *program_name; - - # if HAVE_STRERROR - # ifndef strerror /* On some systems, strerror is a macro */ --char *strerror (); -+char *strerror (int); - # endif - # else - static char * -diff --git a/lib/getopt.h b/lib/getopt.h -index 4ac33b7..46971cb 100644 ---- a/lib/getopt.h -+++ b/lib/getopt.h -@@ -101,7 +101,7 @@ struct option - errors, only prototype getopt for the GNU C library. */ - extern int getopt (int argc, char *const *argv, const char *shortopts); - #else /* not __GNU_LIBRARY__ */ --extern int getopt (); -+extern int getopt (int, char * const [], const char *); - #endif /* __GNU_LIBRARY__ */ - extern int getopt_long (int argc, char *const *argv, const char *shortopts, - const struct option *longopts, int *longind); -diff --git a/lib/long-options.c b/lib/long-options.c -index 9ee8f66..2c8d267 100644 ---- a/lib/long-options.c -+++ b/lib/long-options.c -@@ -40,7 +40,7 @@ parse_long_options (argc, argv,version, usage) - int argc; - char **argv; - void (*version)(); -- void (*usage)(); -+ void (*usage)(int); - { - int c; - int saved_opterr; -@@ -61,7 +61,7 @@ parse_long_options (argc, argv,version, usage) - (*usage) (0); - - case 'v': -- (*version) (0); -+ (*version) (); - /* printf ("%s (%s) %s\n", command_name, package, version_string); */ - exit (0); - -diff --git a/lib/long-options.h b/lib/long-options.h -index 14459cd..3fb8fa6 100644 ---- a/lib/long-options.h -+++ b/lib/long-options.h -@@ -6,5 +6,5 @@ - #endif - - void parse_long_options __P ((int _argc, char **_argv, -- void (*_version) (void), -+ void (*_version) (), - void (*_usage) (int))); -diff --git a/lib/xstrtol.c b/lib/xstrtol.c -index 8755cf4..0ab337d 100644 ---- a/lib/xstrtol.c -+++ b/lib/xstrtol.c -@@ -65,8 +65,6 @@ extern int errno; - } \ - while (0) - --__unsigned long int __strtol (); -- - /* FIXME: comment. */ - - strtol_error -diff --git a/src/lrz.c b/src/lrz.c -index b3cf1d5..ae3c62d 100644 ---- a/src/lrz.c -+++ b/src/lrz.c -@@ -41,12 +41,6 @@ - #include "xstrtoul.h" - #include "error.h" - --#ifndef STRICT_PROTOTYPES --extern time_t time(); --extern char *strerror(); --extern char *strstr(); --#endif -- - #ifndef HAVE_ERRNO_DECLARATION - extern int errno; - #endif -@@ -191,7 +185,7 @@ int enable_syslog=FALSE; - - - /* called by signal interrupt or terminate to clean things up */ --RETSIGTYPE -+void - bibi(int n) - { - if (zmodem_requested) -diff --git a/src/lsz.c b/src/lsz.c -index e9e4660..69f4fb8 100644 ---- a/src/lsz.c -+++ b/src/lsz.c -@@ -50,12 +50,6 @@ void *mm_addr=NULL; - #include "xstrtoul.h" - #include "error.h" - --#ifndef STRICT_PROTOTYPES --extern time_t time(); --extern char *strerror(); --extern char *strstr(); --#endif -- - #ifndef HAVE_ERRNO_DECLARATION - extern int errno; - #endif -@@ -218,7 +212,7 @@ static int zrqinits_sent=0; - static int play_with_sigint=0; - - /* called by signal interrupt or terminate to clean things up */ --RETSIGTYPE -+void - bibi (int n) - { - canit(STDOUT_FILENO); -diff --git a/src/tcp.c b/src/tcp.c -index 137f94c..a885d5b 100644 ---- a/src/tcp.c -+++ b/src/tcp.c -@@ -38,7 +38,7 @@ - #include <stdlib.h> - #include "error.h" - --static RETSIGTYPE -+static void - tcp_alarm_handler(int dummy LRZSZ_ATTRIB_UNUSED) - { - /* doesn't need to do anything */ -diff --git a/src/zglobal.h b/src/zglobal.h -index 573b461..55bd58f 100644 ---- a/src/zglobal.h -+++ b/src/zglobal.h -@@ -357,7 +357,7 @@ extern int no_timeout; - extern int Zctlesc; /* Encode control characters */ - extern int under_rsh; - --RETSIGTYPE bibi __P ((int n)); -+void bibi __P ((int n)); - - #define sendline(c) putchar((c) & 0377) - #define xsendline(c) putchar(c) -diff --git a/src/zreadline.c b/src/zreadline.c -index aeda95c..c8f8263 100644 ---- a/src/zreadline.c -+++ b/src/zreadline.c -@@ -43,7 +43,7 @@ static char *readline_buffer; - int readline_left=0; - char *readline_ptr; - --static RETSIGTYPE -+static void - zreadline_alarm_handler(int dummy LRZSZ_ATTRIB_UNUSED) - { - /* doesn't need to do anything */
meta/recipes-bsp/lrzsz/lrzsz-0.12.20/0001-Fix-cross-compilation-using-autoconf-detected-AR.patch deleted +0 -36
@@ -1,36 +0,0 @@ -From ecdcf0df6c28c65ca6d1e5638726e13e373c76c5 Mon Sep 17 00:00:00 2001 -From: Khem Raj <[email protected]> -Date: Wed, 11 Nov 2020 22:58:55 -0800 -Subject: [PATCH] Fix cross compilation using autoconf detected AR - -currently its using 'ar' program from build host, which is not expected, -we need to respect AR passed in environment - -Upstream-Status: Inappropriate [upstream hasn't been active since 1998] - -Signed-off-by: Khem Raj <[email protected]> ---- - configure.in | 7 +++++++ - 1 file changed, 7 insertions(+) - -diff --git a/configure.in b/configure.in -index 4ddbe8b..b7c3c31 100644 ---- a/configure.in -+++ b/configure.in -@@ -84,6 +84,13 @@ AC_ARG_ENABLE(syslog, - ]) - - dnl Checks for programs. -+m4_ifndef([AC_PROG_AR],[dnl -+ AN_MAKEVAR([AR], [AC_PROG_AR]) -+ AN_PROGRAM([ar], [AC_PROG_AR]) -+ AC_DEFUN([AC_PROG_AR], -+ [AC_CHECK_TOOL(AR, ar, :)]) -+]) -+AC_PROG_AR - AC_PROG_CC - AC_PROG_GCC_TRADITIONAL - dnl AC_PROG_INSTALL included in AM_INIT_AUTOMAKE --- -2.29.2 -
meta/recipes-bsp/lrzsz/lrzsz-0.12.20/0001-lrzsz-convert-K-R-function-definitions-to-ANSI-C-pro.patch deleted +0 -64
64 lines not on this page · raw message
meta/recipes-bsp/lrzsz/lrzsz-0.12.20/autotools-update.patch deleted +0 -5749
2,714 lines not on this page · raw message
meta/recipes-bsp/lrzsz/lrzsz-0.12.20/autotools.patch deleted +0 -39
Lines of this file are not shown. View the raw message.
meta/recipes-bsp/lrzsz/lrzsz-0.12.20/cve-2018-10195.patch deleted +0 -28
Lines of this file are not shown. View the raw message.
meta/recipes-bsp/lrzsz/lrzsz-0.12.20/include.patch deleted +0 -25
Lines of this file are not shown. View the raw message.
meta/recipes-bsp/lrzsz/lrzsz-0.12.20/lrzsz-check-locale.h.patch deleted +0 -32
Lines of this file are not shown. View the raw message.
meta/recipes-bsp/lrzsz/lrzsz-0.12.20/makefile.patch deleted +0 -22
Lines of this file are not shown. View the raw message.
meta/recipes-bsp/lrzsz/lrzsz/0001-Fix-build-with-32-bit-targets-under-Werror.patch new file +121 -0
121 lines not on this page · raw message
meta/recipes-bsp/lrzsz/lrzsz_0.13.1.bb renamed from meta/recipes-bsp/lrzsz/lrzsz_0.12.20.bb +2 -16
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
Part of the diff is not shown here. View the raw message.