diff --git a/0005-Add-const-qualifier-to-variable.patch b/0005-Add-const-qualifier-to-variable.patch deleted file mode 100644 index 20669f0..0000000 --- a/0005-Add-const-qualifier-to-variable.patch +++ /dev/null @@ -1,25 +0,0 @@ -From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 -From: Nicolas Frayer -Date: Mon, 22 Jun 2026 20:58:03 +0200 -Subject: [PATCH] Add const qualifier to variable - -Add const to a variable initialized with using strrchr. - -Signed-off-by: Nicolas Frayer ---- - src/pesum.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/pesum.c b/src/pesum.c -index e4ddaf86d7fa..5d7dcb929eec 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; - diff --git a/pesign.patches b/pesign.patches index 9981c26..d5f5f82 100644 --- a/pesign.patches +++ b/pesign.patches @@ -2,4 +2,3 @@ Patch0001: 0001-cms_common-Fixed-Segmentation-fault.patch Patch0002: 0002-Fix-reversed-calloc-arguments.patch Patch0003: 0003-Work-around-OpenSC-changing-token-names-on-fedora-bu.patch Patch0004: 0004-cms_common-skip-authentication-on-the-Friendly-slot.patch -Patch0005: 0005-Add-const-qualifier-to-variable.patch diff --git a/pesign.spec b/pesign.spec index 9785b6b..9daa276 100644 --- a/pesign.spec +++ b/pesign.spec @@ -6,7 +6,7 @@ Name: pesign Summary: Signing utility for UEFI binaries Version: 116 -Release: 9%{?dist} +Release: 8%{?dist} License: GPL-2.0-only URL: https://github.com/rhboot/pesign @@ -163,10 +163,6 @@ certutil -d %{_sysconfdir}/pki/pesign/ -X -L > /dev/null %{_sysusersdir}/pesign.conf %changelog -* Mon Jun 22 2026 Nicolas Frayer - 116-9 -- Fix a FTBFS issue caused by a missing const qualifier -- Resolves: #2491392 - * Tue Feb 11 2025 Zbigniew Jędrzejewski-Szmek - Add sysusers.d config file to allow rpm to create users/groups automatically