Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package gup for openSUSE:Factory checked in at 2025-03-10 18:05:05 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/gup (Old) and /work/SRC/openSUSE:Factory/.gup.new.19136 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gup" Mon Mar 10 18:05:05 2025 rev:21 rq:1251564 version:0.3 Changes: -------- --- /work/SRC/openSUSE:Factory/gup/gup.changes 2024-03-05 18:52:14.532485622 +0100 +++ /work/SRC/openSUSE:Factory/.gup.new.19136/gup.changes 2025-03-10 18:05:19.210547751 +0100 @@ -1,0 +2,7 @@ +Wed Mar 5 14:34:01 UTC 2025 - [email protected] + +- build with gcc15 +- added patches + + gup-gcc15.patch + +------------------------------------------------------------------- New: ---- gup-gcc15.patch BETA DEBUG BEGIN: New:- added patches + gup-gcc15.patch BETA DEBUG END: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gup.spec ++++++ --- /var/tmp/diff_new_pack.38gTnw/_old 2025-03-10 18:05:21.098625962 +0100 +++ /var/tmp/diff_new_pack.38gTnw/_new 2025-03-10 18:05:21.118626791 +0100 @@ -1,7 +1,7 @@ # # spec file for package gup # -# 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 @@ -26,6 +26,7 @@ Source: gup.tar.gz Patch0: gup.dif Patch1: gup-fdleak.dif +Patch2: gup-gcc15.patch Requires: inn %if 0%{?suse_version} >= 1330 Requires(pre): group(news) @@ -42,6 +43,7 @@ sed -e 's-@LIBEXECDIR@-%{_libexecdir}-g' -i %{PATCH0} %patch -P 0 %patch -P 1 +%patch -P 2 %build export RPM_OPT_FLAGS ++++++ gup-gcc15.patch ++++++ Index: gup.c =================================================================== --- gup.c.orig +++ gup.c @@ -71,26 +71,26 @@ struct command_s { }; -static void parse_options(); +static void parse_options(int argc, char *argv[]); static void parse_headers(); static int parse_commands(); -static void load_active(); +static void load_active(LIST *exclusion_list); static void write_groups(); static void print_version(); static void log_mail_headers(); static void item_print __P((int indent, int *column, const char *str)); -static int getoneline(); -static int tokenize(); -static int command_cmp(); -static int site(); -static int include(); -static int exclude(); -static int insert_group(); -static int delete(); -static int list(); -static int quit(); -static int newsgroups(); +static int getoneline(FILE *fp); +static int tokenize(char *cp, char**tokens, int max_tokens); +static int command_cmp(char *str, char *cmd); +static int site(char **tokens); +static int include(char **tokens); +static int exclude(char **tokens); +static int insert_group(int not_flag, char *gname); +static int delete(char **tokens); +static int list(char **tokens); +static int quit(char **tokens); +static int newsgroups(char **tokens); /* Here's the command list from the body of the mail */ Index: log.c =================================================================== --- log.c.orig +++ log.c @@ -3,7 +3,7 @@ #include "gup.h" -static void log_line(); +static void log_line(FILE *fp, int lflags, char *stamp, char *prefix, char *log_msg); /* Log a message, with a time stamp to the logfile and or mailfile */ Index: rfc822.c =================================================================== --- rfc822.c.orig +++ rfc822.c @@ -11,10 +11,6 @@ static char RCS[] = "$Header: /var/src/gup/src/RCS/rfc822.c,v 1.3 93/07/24 01:28:45 andrew Exp Locker: andrew $"; #endif /* defined(RCSID) */ -extern time_t time(); -extern char *asctime(); -extern struct tm *gmtime(); - #define QUESTIONABLE(c) \ ((c) == '"' || (c) == '(' || (c) == ')' || (c) == '\\') Index: rfc822.h =================================================================== --- rfc822.h.orig +++ rfc822.h @@ -229,7 +229,7 @@ extern char *Pname; /* Routines we provide. */ extern align_t MyAlloc(); extern int Split(); -extern int CrackFrom(); +extern int CrackFrom(ADDRCHAR *addr, char *name, char *p); extern void re_modw(); extern void SplitFree(); extern void FreeFile(); @@ -240,8 +240,6 @@ extern void rfc822read(); extern void yyopen(); extern void yyerror(); -extern char *strerror(); - /* Variables and routines that Unix(tm) provides. */ extern int errno; extern int sys_nerr; Index: sort.c =================================================================== --- sort.c.orig +++ sort.c @@ -20,7 +20,7 @@ * Note that the inbound list is worthless after this routine. */ -static int mat_compare(); +static int mat_compare(GROUP **g1, GROUP **g2); extern LIST * @@ -48,7 +48,7 @@ sort_groups(glist) /* Do the sort */ - qsort((char *) stab, LIST_LENGTH(glist), sizeof(GROUP *), mat_compare); + qsort((char *) stab, LIST_LENGTH(glist), sizeof(GROUP *), (int (*)(const void *, const void *)) mat_compare); /* Build the results list */
