[packages/ding-libs] Up to 0.6.2

arekm arekm at pld-linux.org
Fri Nov 27 22:01:15 CET 2026


commit 836e0cac4828e501da339d1e2babd6b491131fc8
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Fri Nov 27 15:56:19 2026 +0100

    Up to 0.6.2

 ding-libs-test-regex-glibc.patch | 40 ----------------------------------------
 ding-libs.spec                   |  8 +++-----
 2 files changed, 3 insertions(+), 45 deletions(-)
---
diff --git a/ding-libs.spec b/ding-libs.spec
index 4e0ff5b..a0beb37 100644
--- a/ding-libs.spec
+++ b/ding-libs.spec
@@ -12,14 +12,13 @@
 Summary:	"Ding is not GLib" assorted utility libraries
 Summary(pl.UTF-8):	"Ding is not GLib" - niepowiązane ze sobą biblioteki narzędzi
 Name:		ding-libs
-Version:	0.6.1
+Version:	0.6.2
 # NOTE: do not decrease Release on Version change, unless ALL subpackage versions have been increased too
-Release:	6
+Release:	7
 License:	GPL v3+ (basicobjects), LGPL v3+ (collection, dhash, ini, path_utils, ref_array)
 Group:		Libraries
 Source0:	https://releases.pagure.org/SSSD/ding-libs/%{name}-%{version}.tar.gz
-# Source0-md5:	141ffba92d7703b7efc2595971305de7
-Patch0:		%{name}-test-regex-glibc.patch
+# Source0-md5:	6252ff1358b91f23444b9586695ef4f9
 URL:		https://pagure.io/SSSD/ding-libs
 BuildRequires:	autoconf >= 2.50
 BuildRequires:	automake
@@ -298,7 +297,6 @@ Statyczna biblioteka libref_array.
 
 %prep
 %setup -q
-%patch -P0 -p1
 
 %build
 %configure \
diff --git a/ding-libs-test-regex-glibc.patch b/ding-libs-test-regex-glibc.patch
deleted file mode 100644
index b4a8a7d..0000000
--- a/ding-libs-test-regex-glibc.patch
+++ /dev/null
@@ -1,40 +0,0 @@
---- ding-libs-0.6.1/ini/ini_validators_ut_check.c.orig	2026-05-21 00:00:00.000000000 +0200
-+++ ding-libs-0.6.1/ini/ini_validators_ut_check.c	2026-05-21 00:00:00.000000000 +0200
-@@ -603,10 +603,15 @@
-     ini_errobj_next(errobj);
-
-     errmsg = ini_errobj_get_msg(errobj);
--    ret = strcmp(errmsg,
--                 "[rule/options_for_foo]: Cannot compile regular expression "
--                 "from option 'section_re'. "
--                 "Error: 'Unmatched [ or [^'");
-+    /* glibc's regerror() wording for an unmatched '[' has changed over
-+     * time (e.g. "Unmatched [ or [^" vs. "Unmatched [, [^, [:, [., or
-+     * [="), so match only the stable prefix up to the embedded error. */
-+    {
-+        static const char prefix[] =
-+            "[rule/options_for_foo]: Cannot compile regular expression "
-+            "from option 'section_re'. Error: '";
-+        ret = strncmp(errmsg, prefix, sizeof(prefix) - 1);
-+    }
-     fail_unless(ret == 0, "Got msg: [%s]", errmsg);
-     ini_errobj_next(errobj);
-
-@@ -1025,9 +1030,14 @@
-     ini_errobj_next(errobj);
-
-     errmsg = ini_errobj_get_msg(errobj);
--    ret = strcmp(errmsg,
--                 "[rule/section_list]: Validator failed to use regex "
--                 "[^foo\\(*$]:[Unmatched ( or \\(]");
-+    /* Only the stable prefix is checked; the bracketed regerror text
-+     * after "[^foo\\(*$]:" varies between glibc versions. */
-+    {
-+        static const char prefix[] =
-+            "[rule/section_list]: Validator failed to use regex "
-+            "[^foo\\(*$]:[";
-+        ret = strncmp(errmsg, prefix, sizeof(prefix) - 1);
-+    }
-     fail_unless(ret == 0, "Got msg: [%s]", errmsg);
-     ini_errobj_next(errobj);
-
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ding-libs.git/commitdiff/836e0cac4828e501da339d1e2babd6b491131fc8



More information about the pld-cvs-commit mailing list