Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package edk2 for openSUSE:Factory checked in at 2026-03-20 21:19:34 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/edk2 (Old) and /work/SRC/openSUSE:Factory/.edk2.new.8177 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "edk2" Fri Mar 20 21:19:34 2026 rev:16 rq:1341174 version:202502 Changes: -------- --- /work/SRC/openSUSE:Factory/edk2/edk2.changes 2025-06-11 16:21:19.479452989 +0200 +++ /work/SRC/openSUSE:Factory/.edk2.new.8177/edk2.changes 2026-03-20 21:20:00.718011610 +0100 @@ -1,0 +2,5 @@ +Thu Mar 19 10:22:35 UTC 2026 - Richard Biener <[email protected]> + +- Add edk2-const-correctness.patch to fix build with glibc 2.43 + +------------------------------------------------------------------- New: ---- edk2-const-correctness.patch ----------(New B)---------- New: - Add edk2-const-correctness.patch to fix build with glibc 2.43 ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ edk2.spec ++++++ --- /var/tmp/diff_new_pack.GmJZJO/_old 2026-03-20 21:20:03.002106238 +0100 +++ /var/tmp/diff_new_pack.GmJZJO/_new 2026-03-20 21:20:03.002106238 +0100 @@ -1,7 +1,7 @@ # # spec file for package edk2 # -# Copyright (c) 2025 SUSE LLC +# Copyright (c) 2026 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -71,6 +71,7 @@ Source12: openssl.keyring # PATCH-FIX-UPSTREAM - https://github.com/tianocore/edk2/pull/10928 - CVE-2024-38797 Patch1: 10928.patch +Patch2: edk2-const-correctness.patch #!BuildIgnore: gcc-PIE BuildRequires: acpica BuildRequires: bc @@ -121,6 +122,7 @@ %prep %setup -q -n edk2-edk2-stable%{archive_version} -a 1 -a 2 -a 3 -a 4 -a 5 -a 6 -a 7 -a 8 %patch -P 1 -p1 +%patch -P 2 -p1 # Fix path of the brotli submodules cp -R brotli-%{brotli_version}/* BaseTools/Source/C/BrotliCompress/brotli/ ++++++ edk2-const-correctness.patch ++++++ >From 9af06ef3cbb052b142f9660c2c01e7aeb401300c Mon Sep 17 00:00:00 2001 From: Gerd Hoffmann <[email protected]> Date: Mon, 8 Dec 2025 10:28:50 +0100 Subject: [PATCH] BaseTools/EfiRom: fix compiler warning MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit New warning after updating gcc: EfiRom.c: In function ‘main’: EfiRom.c:78:17: error: assignment discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers] The assigned value is not used, so fix the warning by just removing it. Signed-off-by: Gerd Hoffmann <[email protected]> --- BaseTools/Source/C/EfiRom/EfiRom.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/BaseTools/Source/C/EfiRom/EfiRom.c b/BaseTools/Source/C/EfiRom/EfiRom.c index fa7bf0e62e..6e903b3504 100644 --- a/BaseTools/Source/C/EfiRom/EfiRom.c +++ b/BaseTools/Source/C/EfiRom/EfiRom.c @@ -44,7 +44,6 @@ Returns: FILE_LIST *FList; UINT32 TotalSize; UINT32 Size; - CHAR8 *Ptr0; SetUtilityName(UTILITY_NAME); @@ -75,7 +74,7 @@ Returns: // if (mOptions.DumpOption == 1) { if (mOptions.FileList != NULL) { - if ((Ptr0 = strstr ((CONST CHAR8 *) mOptions.FileList->FileName, DEFAULT_OUTPUT_EXTENSION)) != NULL) { + if (strstr ((CONST CHAR8 *) mOptions.FileList->FileName, DEFAULT_OUTPUT_EXTENSION) != NULL) { DumpImage (mOptions.FileList); goto BailOut; } else { -- 2.51.0
