Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package lha for openSUSE:Factory checked in at 2025-06-20 16:49:42 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/lha (Old) and /work/SRC/openSUSE:Factory/.lha.new.31170 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "lha" Fri Jun 20 16:49:42 2025 rev:3 rq:1286924 version:1.14.1~git.20230329 Changes: -------- --- /work/SRC/openSUSE:Factory/lha/lha.changes 2023-05-20 17:24:07.921719387 +0200 +++ /work/SRC/openSUSE:Factory/.lha.new.31170/lha.changes 2025-06-20 16:51:19.177000438 +0200 @@ -1,0 +2,7 @@ +Thu Jun 19 10:28:23 UTC 2025 - pgaj...@suse.com + +- added patches + fix build with gcc15 + + lha-gcc15.patch + +------------------------------------------------------------------- New: ---- lha-gcc15.patch ----------(New B)---------- New: fix build with gcc15 + lha-gcc15.patch ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ lha.spec ++++++ --- /var/tmp/diff_new_pack.iuPehB/_old 2025-06-20 16:51:19.853028396 +0200 +++ /var/tmp/diff_new_pack.iuPehB/_new 2025-06-20 16:51:19.853028396 +0200 @@ -23,6 +23,8 @@ License: SUSE-Public-Domain URL: http://lha.sourceforge.jp/ Source: %{name}-%{version}.tar.gz +# fix build with gcc15 +Patch0: lha-gcc15.patch BuildRequires: autoconf BuildRequires: automake # Conflict with another lha implementation: @@ -34,7 +36,7 @@ purposes, because it is the standard for Linux. %prep -%autosetup +%autosetup -p1 %build autoreconf -fiv ++++++ lha-gcc15.patch ++++++ diff -upr lha-1.14.1~git.20230329.orig/src/lha.h lha-1.14.1~git.20230329/src/lha.h --- lha-1.14.1~git.20230329.orig/src/lha.h 2025-06-19 10:13:18.371528833 +0000 +++ lha-1.14.1~git.20230329/src/lha.h 2025-06-19 10:20:40.265231480 +0000 @@ -215,7 +215,7 @@ int fnmatch(const char *pattern, const c struct encode_option { #if defined(__STDC__) || defined(AIX) - void (*output) (); + void (*output) (unsigned short, unsigned short); void (*encode_start) (); void (*encode_end) (); #else diff -upr lha-1.14.1~git.20230329.orig/src/lhadd.c lha-1.14.1~git.20230329/src/lhadd.c --- lha-1.14.1~git.20230329.orig/src/lhadd.c 2025-06-19 10:13:18.371603330 +0000 +++ lha-1.14.1~git.20230329/src/lhadd.c 2025-06-19 10:16:18.876845083 +0000 @@ -9,7 +9,7 @@ /* ------------------------------------------------------------------------ */ #include "lha.h" /* ------------------------------------------------------------------------ */ -static void remove_files(); +static void remove_files(int, char **); static char new_archive_name_buffer[FILENAME_LENGTH]; static char *new_archive_name; diff -upr lha-1.14.1~git.20230329.orig/src/slide.c lha-1.14.1~git.20230329/src/slide.c --- lha-1.14.1~git.20230329.orig/src/slide.c 2025-06-19 10:13:18.372157080 +0000 +++ lha-1.14.1~git.20230329/src/slide.c 2025-06-19 10:26:07.717831257 +0000 @@ -37,11 +37,11 @@ static unsigned int *prev; /* previ static struct encode_option encode_define[2] = { #if defined(__STDC__) || defined(AIX) /* lh1 */ - {(void (*) ()) output_dyn, + {(void (*) (unsigned short, unsigned short)) output_dyn, (void (*) ()) encode_start_fix, (void (*) ()) encode_end_dyn}, /* lh4, 5, 6, 7 */ - {(void (*) ()) output_st1, + {(void (*) (unsigned short, unsigned short)) output_st1, (void (*) ()) encode_start_st1, (void (*) ()) encode_end_st1} #else