Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package cowsql for openSUSE:Factory checked in at 2026-06-03 20:26:59 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/cowsql (Old) and /work/SRC/openSUSE:Factory/.cowsql.new.1937 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "cowsql" Wed Jun 3 20:26:59 2026 rev:5 rq:1356912 version:1.15.9 Changes: -------- --- /work/SRC/openSUSE:Factory/cowsql/cowsql.changes 2025-09-22 16:42:03.863422959 +0200 +++ /work/SRC/openSUSE:Factory/.cowsql.new.1937/cowsql.changes 2026-06-03 20:29:39.387209498 +0200 @@ -1,0 +2,6 @@ +Wed Jun 3 05:50:56 UTC 2026 - Andreas Stieger <[email protected]> + +- fix build, add cowsql-1.15.9-fix-Wdiscarded-qualifiers.patch + from upstream + +------------------------------------------------------------------- New: ---- cowsql-1.15.9-fix-Wdiscarded-qualifiers.patch ----------(New B)---------- New: - fix build, add cowsql-1.15.9-fix-Wdiscarded-qualifiers.patch from upstream ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ cowsql.spec ++++++ --- /var/tmp/diff_new_pack.wtYTZU/_old 2026-06-03 20:29:40.003235010 +0200 +++ /var/tmp/diff_new_pack.wtYTZU/_new 2026-06-03 20:29:40.007235176 +0200 @@ -2,7 +2,7 @@ # spec file for package cowsql # # Copyright (c) 2025 SUSE LLC -# Copyright (c) 2024 Andreas Stieger <[email protected]> +# Copyright (c) 2026 Andreas Stieger <[email protected]> # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -25,6 +25,7 @@ License: LGPL-3.0-only WITH LGPL-3.0-linking-exception URL: https://github.com/cowsql/cowsql Source: https://github.com/cowsql/cowsql/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz +Patch0: cowsql-1.15.9-fix-Wdiscarded-qualifiers.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: libtool ++++++ cowsql-1.15.9-fix-Wdiscarded-qualifiers.patch ++++++ >From 64982fb993e91cf4f90e67fe3b2957a07be9cadf Mon Sep 17 00:00:00 2001 From: Dimitry Andric <[email protected]> Date: Tue, 28 Apr 2026 20:48:10 +0200 Subject: [PATCH] Fix -Wdiscarded-qualifiers warnings when using C23 memchr The pointers `p`, `version_str`, `addr` and `id_str` are not really const, so remove the const specifier. Fixes #44. --- src/server.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/server.c b/src/server.c index e91ec5b..acb6db7 100644 --- a/src/server.c +++ b/src/server.c @@ -987,10 +987,10 @@ static const struct client_node_info *findNodeInCache( * representation. */ static int parseNodeStore(char *buf, size_t len, struct node_store_cache *cache) { - const char *p = buf; + char *p = buf; const char *end = buf + len; char *nl; - const char *version_str; + char *version_str; const char *addr; const char *id_str; const char *dig; @@ -1126,12 +1126,12 @@ static int parseLocalInfo(char *buf, char **local_addr, uint64_t *local_id) { - const char *p = buf; + char *p = buf; const char *end = buf + len; char *nl; - const char *version_str; - const char *addr; - const char *id_str; + char *version_str; + char *addr; + char *id_str; const char *dig; unsigned long long id;
