Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package pesign for openSUSE:Factory checked 
in at 2026-02-26 18:49:19
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/pesign (Old)
 and      /work/SRC/openSUSE:Factory/.pesign.new.29461 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "pesign"

Thu Feb 26 18:49:19 2026 rev:51 rq:1334895 version:116

Changes:
--------
--- /work/SRC/openSUSE:Factory/pesign/pesign.changes    2026-01-15 
16:43:52.178328403 +0100
+++ /work/SRC/openSUSE:Factory/.pesign.new.29461/pesign.changes 2026-02-26 
18:49:21.235276511 +0100
@@ -1,0 +2,6 @@
+Wed Feb 25 01:40:45 UTC 2026 - Gary Ching-Pang Lin <[email protected]>
+
+- Add pesign-bsc1258751-constify-return-of-strrchr.patch to
+  constify the return pointer of strrchr() (bsc#1258751)
+
+-------------------------------------------------------------------

New:
----
  pesign-bsc1258751-constify-return-of-strrchr.patch

----------(New B)----------
  New:
- Add pesign-bsc1258751-constify-return-of-strrchr.patch to
  constify the return pointer of strrchr() (bsc#1258751)
----------(New E)----------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ pesign.spec ++++++
--- /var/tmp/diff_new_pack.n3hMeC/_old  2026-02-26 18:49:22.575332192 +0100
+++ /var/tmp/diff_new_pack.n3hMeC/_new  2026-02-26 18:49:22.579332357 +0100
@@ -42,6 +42,7 @@
 Patch11:        pesign-bsc1221694-fix-reversed-calloc-arguments.patch
 # PATCH-FIX-UPSTREAM pesign-bsc1238023-initialize-pwdata.patch bsc#1238023 
[email protected] -- Fall back to password prompt correctly
 Patch12:        pesign-bsc1238023-initialize-pwdata.patch
+Patch13:        pesign-bsc1258751-constify-return-of-strrchr.patch
 BuildRequires:  efivar-devel >= 38
 BuildRequires:  libuuid-devel
 BuildRequires:  mandoc

++++++ pesign-bsc1258751-constify-return-of-strrchr.patch ++++++
>From b18e40d16e91f122df2c54e5ee06cc5bc259e34e Mon Sep 17 00:00:00 2001
From: Gary Lin <[email protected]>
Date: Wed, 25 Feb 2026 09:32:45 +0800
Subject: [PATCH] pesum: Constify the return pointer of strrchr()

Since glibc 2.23, strrchr() returns a const pointer when given a const
pointer as input. Declare 'ext' as 'const char *' to avoid the potential
compilation error.

Signed-off-by: Gary Lin <[email protected]>
---
 src/pesum.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/pesum.c b/src/pesum.c
index e4ddaf8..5d7dcb9 100644
--- a/src/pesum.c
+++ b/src/pesum.c
@@ -141,7 +141,7 @@ main(int argc, char *argv[])
        while ((infile = poptGetArg(optCon)) != NULL) {
                pesign_context *ctxp = NULL;
 
-               char *ext = strrchr(infile, '.');
+               const char *ext = strrchr(infile, '.');
                if (ext && strcmp(ext, ".ko") == 0)
                        fmt = FORMAT_KERNEL_MODULE;
 
-- 
2.51.0

Reply via email to