Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package rzsz for openSUSE:Factory checked in at 2025-06-17 18:24:02 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/rzsz (Old) and /work/SRC/openSUSE:Factory/.rzsz.new.19631 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rzsz" Tue Jun 17 18:24:02 2025 rev:9 rq:1286336 version:0.12.21~rc Changes: -------- --- /work/SRC/openSUSE:Factory/rzsz/rzsz.changes 2024-06-03 17:41:29.670650947 +0200 +++ /work/SRC/openSUSE:Factory/.rzsz.new.19631/rzsz.changes 2025-06-17 18:24:51.296875168 +0200 @@ -1,0 +2,8 @@ +Mon Jun 16 19:58:59 UTC 2025 - BenoƮt Monin <benoit.mo...@gmx.fr> + +- add lrzsz-0.12.21rc-fix-build-with-gcc-15.patch to fix build + errors +- add the path of the m4 macro to autoreconf to fix the build with + gettext 0.25 + +------------------------------------------------------------------- New: ---- lrzsz-0.12.21rc-fix-build-with-gcc-15.patch ----------(New B)---------- New: - add lrzsz-0.12.21rc-fix-build-with-gcc-15.patch to fix build errors ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rzsz.spec ++++++ --- /var/tmp/diff_new_pack.1DfL7o/_old 2025-06-17 18:24:52.128909766 +0200 +++ /var/tmp/diff_new_pack.1DfL7o/_new 2025-06-17 18:24:52.132909931 +0200 @@ -1,7 +1,7 @@ # # spec file for package rzsz # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -35,6 +35,7 @@ # PATCH-FIX-UPSTREAM fix getopt optstring boo#1076576 Patch9: lrzsz-0.12.20-fix-lsz-getopt.patch Patch10: lrzsz-0.12.21rc-drop-po-intl.patch +Patch11: lrzsz-0.12.21rc-fix-build-with-gcc-15.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: gettext-runtime @@ -55,7 +56,7 @@ rm -f acconfig.h %build -autoreconf -fvi +autoreconf -fvi -I /usr/share/gettext/m4 %configure make %{?_smp_mflags} # generate translation ++++++ lrzsz-0.12.21rc-fix-build-with-gcc-15.patch ++++++ lib/error.c | 2 +- lib/getopt.h | 2 +- lib/long-options.c | 2 +- lib/long-options.h | 2 +- lib/xstrtol.c | 2 -- src/lrz.c | 6 +++--- src/lsz.c | 6 +++--- 7 files changed, 10 insertions(+), 12 deletions(-) --- 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 * --- 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); --- a/lib/long-options.c +++ b/lib/long-options.c @@ -44,7 +44,7 @@ parse_long_options (argc, argv,version, int argc; char **argv; void (*version)(); - void (*usage)(); + void (*usage)(int); #endif { int c; --- 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))); --- 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 --- a/src/lrz.c +++ b/src/lrz.c @@ -42,9 +42,9 @@ #include "error.h" #ifndef STRICT_PROTOTYPES -extern time_t time(); -extern char *strerror(); -extern char *strstr(); +extern time_t time(time_t *tloc); +extern char *strerror(int errnum); +extern char *strstr(const char *s1, const char *s2); #endif #ifndef HAVE_ERRNO_DECLARATION --- a/src/lsz.c +++ b/src/lsz.c @@ -51,9 +51,9 @@ void *mm_addr=NULL; #include "error.h" #ifndef STRICT_PROTOTYPES -extern time_t time(); -extern char *strerror(); -extern char *strstr(); +extern time_t time(time_t *tloc); +extern char *strerror(int errnum); +extern char *strstr(const char *s1, const char *s2); #endif #ifndef HAVE_ERRNO_DECLARATION