Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package gsasl for openSUSE:Factory checked in at 2026-03-20 21:19:33 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/gsasl (Old) and /work/SRC/openSUSE:Factory/.gsasl.new.8177 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gsasl" Fri Mar 20 21:19:33 2026 rev:5 rq:1341157 version:2.2.2 Changes: -------- --- /work/SRC/openSUSE:Factory/gsasl/gsasl.changes 2026-02-03 21:26:18.003529195 +0100 +++ /work/SRC/openSUSE:Factory/.gsasl.new.8177/gsasl.changes 2026-03-20 21:19:59.353955099 +0100 @@ -1,0 +2,6 @@ +Thu Mar 19 09:51:30 UTC 2026 - Richard Biener <[email protected]> + +- Add gsasl-const-correctness.patch to fix build with glibc 2.43 +- Add makeinfo BuildRequires to fix build + +------------------------------------------------------------------- New: ---- gsasl-const-correctness.patch ----------(New B)---------- New: - Add gsasl-const-correctness.patch to fix build with glibc 2.43 - Add makeinfo BuildRequires to fix build ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gsasl.spec ++++++ --- /var/tmp/diff_new_pack.tqi2kh/_old 2026-03-20 21:20:00.421999347 +0100 +++ /var/tmp/diff_new_pack.tqi2kh/_new 2026-03-20 21:20:00.421999347 +0100 @@ -1,6 +1,7 @@ # # spec file for package gsasl # +# Copyright (c) 2026 SUSE LLC # Copyright (c) 2026 SUSE LLC and contributors # # All modifications and additions to the file contributed by third parties @@ -29,8 +30,10 @@ Source3: %{name}.keyring Patch1: 0001-uninitialized_x.patch Patch2: authzid.patch +Patch3: gsasl-const-correctness.patch BuildRequires: gcc-c++ BuildRequires: gettext-devel >= 0.19.8 +BuildRequires: makeinfo BuildRequires: pkgconfig BuildRequires: pkgconfig(krb5-gssapi) BuildRequires: pkgconfig(libgcrypt) >= 1.4.4 ++++++ gsasl-const-correctness.patch ++++++ >From b4d38bed1129057cf318df05376449694a68f421 Mon Sep 17 00:00:00 2001 From: Richard Biener <[email protected]> Date: Thu, 19 Mar 2026 10:50:04 +0100 Subject: [PATCH] Fix const correctness wrt C23 conforming string functions exposed by glibc 2.43 --- lib/plain/server.c | 4 ++-- lib/securid/server.c | 2 +- lib/src/mechtools.c | 2 +- tests/md5file.c | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/plain/server.c b/lib/plain/server.c index 44a5c0dc..31d8eccd 100644 --- a/lib/plain/server.c +++ b/lib/plain/server.c @@ -37,8 +37,8 @@ _gsasl_plain_server_step (Gsasl_session *sctx, char **output, size_t *output_len) { const char *authzidptr = input; - char *authidptr = NULL; - char *passwordptr = NULL; + const char *authidptr = NULL; + const char *passwordptr = NULL; char *passwdz = NULL, *passprep = NULL, *authidprep = NULL; int res; diff --git a/lib/securid/server.c b/lib/securid/server.c index 5452f413..426040ef 100644 --- a/lib/securid/server.c +++ b/lib/securid/server.c @@ -43,7 +43,7 @@ _gsasl_securid_server_step (Gsasl_session *sctx, const char *authentication_id = NULL; const char *passcode = NULL; const char *suggestedpin; - char *pin = NULL; + const char *pin = NULL; int res; size_t len; diff --git a/lib/src/mechtools.c b/lib/src/mechtools.c index 8eab62fa..63caa867 100644 --- a/lib/src/mechtools.c +++ b/lib/src/mechtools.c @@ -96,7 +96,7 @@ int _gsasl_parse_gs2_header (const char *data, size_t len, char **authzid, size_t *headerlen) { - char *authzid_endptr; + const char *authzid_endptr; if (len < 3) return GSASL_MECHANISM_PARSE_ERROR; diff --git a/tests/md5file.c b/tests/md5file.c index 3b11e2c4..c3fc0564 100644 --- a/tests/md5file.c +++ b/tests/md5file.c @@ -42,7 +42,7 @@ doit (void) md5file = getenv ("MD5FILE"); if (md5file) { - char *p; + const char *p; if ((p = strchr (md5file, '='))) md5file = p; } -- 2.51.0
