Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package editorconfig-core-c for
openSUSE:Factory checked in at 2026-03-23 17:11:22
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/editorconfig-core-c (Old)
and /work/SRC/openSUSE:Factory/.editorconfig-core-c.new.8177 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "editorconfig-core-c"
Mon Mar 23 17:11:22 2026 rev:16 rq:1341911 version:0.12.10
Changes:
--------
--- /work/SRC/openSUSE:Factory/editorconfig-core-c/editorconfig-core-c.changes
2026-03-01 22:14:29.733151390 +0100
+++
/work/SRC/openSUSE:Factory/.editorconfig-core-c.new.8177/editorconfig-core-c.changes
2026-03-23 17:11:36.965300148 +0100
@@ -1,0 +2,6 @@
+Thu Mar 19 10:33:07 UTC 2026 - Richard Biener <[email protected]>
+
+- Add editorconfig-core-c-const-correctness.patch to fix build with
+ glibc 2.43
+
+-------------------------------------------------------------------
New:
----
editorconfig-core-c-const-correctness.patch
----------(New B)----------
New:
- Add editorconfig-core-c-const-correctness.patch to fix build with
glibc 2.43
----------(New E)----------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ editorconfig-core-c.spec ++++++
--- /var/tmp/diff_new_pack.JRpy4t/_old 2026-03-23 17:11:37.577325639 +0100
+++ /var/tmp/diff_new_pack.JRpy4t/_new 2026-03-23 17:11:37.577325639 +0100
@@ -1,7 +1,7 @@
#
# spec file for package editorconfig-core-c
#
-# Copyright (c) 2025 SUSE LLC
+# Copyright (c) 2026 SUSE LLC
# Copyright (c) 2026 Andreas Stieger <[email protected]>
#
# All modifications and additions to the file contributed by third parties
@@ -26,6 +26,7 @@
URL: https://editorconfig.org/
Source:
https://github.com/editorconfig/editorconfig-core-c/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
Source99: baselibs.conf
+Patch1: editorconfig-core-c-const-correctness.patch
BuildRequires: cmake >= 3.16.3
BuildRequires: doxygen
BuildRequires: pkgconfig
++++++ editorconfig-core-c-const-correctness.patch ++++++
>From 03464d34ed5b32cf128834112dc91b33d67b9109 Mon Sep 17 00:00:00 2001
From: Zhu Qun-Ying <[email protected]>
Date: Fri, 30 Jan 2026 19:25:33 -0800
Subject: [PATCH] Fix gcc 15.2 compile error (#150)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
src/lib/editorconfig.c:291:23: error: initialization discards ‘const’ qualifier
from pointer target type [-Werror=discarded-qualifiers]
291 | char* path_char = strrchr(absolute_path, '/');
---
src/lib/editorconfig.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/lib/editorconfig.c b/src/lib/editorconfig.c
index 4903274..9cb0d90 100644
--- a/src/lib/editorconfig.c
+++ b/src/lib/editorconfig.c
@@ -288,7 +288,7 @@ static int ini_handler(void* hfp, const char* section,
const char* name,
static int split_file_path(char** directory, char** filename,
const char* absolute_path)
{
- char* path_char = strrchr(absolute_path, '/');
+ const char* path_char = strrchr(absolute_path, '/');
if (path_char == NULL) {
if (directory)
--
2.51.0