Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package xlog for openSUSE:Factory checked in at 2026-02-17 16:50:24 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/xlog (Old) and /work/SRC/openSUSE:Factory/.xlog.new.1977 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "xlog" Tue Feb 17 16:50:24 2026 rev:2 rq:1333446 version:2.0.25 Changes: -------- --- /work/SRC/openSUSE:Factory/xlog/xlog.changes 2025-02-17 20:53:41.894403536 +0100 +++ /work/SRC/openSUSE:Factory/.xlog.new.1977/xlog.changes 2026-02-17 16:52:16.211777623 +0100 @@ -1,0 +2,6 @@ +Mon Feb 16 20:27:11 UTC 2026 - Andreas Stieger <[email protected]> + +- fix Tumbleweed build, + xlog-2.0.25-fix_old-style_function_definition.patch + +------------------------------------------------------------------- @@ -9 +14,0 @@ - New: ---- xlog-2.0.25-fix_old-style_function_definition.patch ----------(New B)---------- New:- fix Tumbleweed build, xlog-2.0.25-fix_old-style_function_definition.patch ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ xlog.spec ++++++ --- /var/tmp/diff_new_pack.cusRud/_old 2026-02-17 16:52:18.467871919 +0100 +++ /var/tmp/diff_new_pack.cusRud/_new 2026-02-17 16:52:18.471872086 +0100 @@ -2,7 +2,7 @@ # spec file for package xlog # # Copyright (c) 2019 Walter Fey DL8FCL -# Copyright (c) 2025 Andreas Stieger <[email protected]> +# Copyright (c) 2026 Andreas Stieger <[email protected]> # # This file is under MIT license @@ -18,6 +18,7 @@ Group: Productivity/Hamradio/Logging URL: https://www.nongnu.org/xlog/ Source: https://download.savannah.nongnu.org/releases/xlog/%{name}-%{version}.tar.gz +Patch0: xlog-2.0.25-fix_old-style_function_definition.patch BuildRequires: fdupes BuildRequires: pkgconfig BuildRequires: pkgconfig(gtk+-2.0) ++++++ xlog-2.0.25-fix_old-style_function_definition.patch ++++++ From: Andreas Stieger <[email protected]> Date: Mon, 16 Feb 2026 21:21:15 +0100 Subject: [PATCH] fix old-style function definitions Upstream: sent [ 21s] strptime.c: In function ‘my_localtime_r’: [ 21s] strptime.c:52:23: error: old-style function definition [-Werror=old-style-definition] [ 21s] 52 | # define localtime_r my_localtime_r [ 21s] | ^~~~~~~~~~~~~~ [ 21s] strptime.c:55:1: note: in expansion of macro ‘localtime_r’ [ 21s] 55 | localtime_r (t, tp) [ 21s] | ^~~~~~~~~~~ [ 21s] strptime.c: In function ‘strptime_internal’: [ 21s] strptime.c:257:1: error: old-style function definition [-Werror=old-style-definition] [ 21s] 257 | strptime_internal (rp, fmt, tm, decided, era_cnt) [ 21s] | ^~~~~~~~~~~~~~~~~ [ 21s] strptime.c: In function ‘mystrptime’: [ 21s] strptime.c:991:1: error: old-style function definition [-Werror=old-style-definition] [ 21s] 991 | mystrptime (buf, format, tm) [ 21s] | ^~~~~~~~~~ [ 21s] cc1: all warnings being treated as errors [ 21s] make[2]: *** [Makefile:628: strptime.o] Error 1 Index: xlog-2.0.25/src/strptime.c =================================================================== --- xlog-2.0.25.orig/src/strptime.c +++ xlog-2.0.25/src/strptime.c @@ -52,9 +52,7 @@ # define localtime_r my_localtime_r static struct tm *localtime_r __P ((const time_t *, struct tm *)); static struct tm * -localtime_r (t, tp) - const time_t *t; - struct tm *tp; +localtime_r(const time_t *t, struct tm *tp) { struct tm *l = localtime (t); if (! l) @@ -254,12 +252,7 @@ static char * #ifdef _LIBC internal_function #endif -strptime_internal (rp, fmt, tm, decided, era_cnt) - const char *rp; - const char *fmt; - struct tm *tm; - enum locale_status *decided; - int era_cnt; +strptime_internal(const char *rp, const char *fmt, struct tm *tm, enum locale_status *decided, int era_cnt) { const char *rp_backup; int cnt; @@ -988,10 +981,7 @@ strptime_internal (rp, fmt, tm, decided, char * -mystrptime (buf, format, tm) - const char *buf; - const char *format; - struct tm *tm; +mystrptime( const char *buf, const char *format, struct tm *tm) { enum locale_status decided;
