Compare commits
2 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| a9bcc6201d | |||
| 6846f0ca45 |
17
efitools-c23.patch
Normal file
17
efitools-c23.patch
Normal file
@@ -0,0 +1,17 @@
|
||||
|
||||
- C23 has "bool" as a keyword
|
||||
- gcc-15 compiles w/ -std=gnu23 by default
|
||||
- the code in lib/asn1 dates from before 2012, it defines and uses
|
||||
it's own "bool", so compile the code there w/ -std=gnu11
|
||||
|
||||
--- a/lib/asn1/Makefile 2019-01-08 23:13:13.000000000 +0100
|
||||
+++ b/lib/asn1/Makefile 2025-04-13 09:21:22.870024546 +0200
|
||||
@@ -4,6 +4,8 @@
|
||||
|
||||
include ../../Make.rules
|
||||
|
||||
+CFLAGS += -std=gnu11
|
||||
+
|
||||
libasn1.a: $(LIBFILES)
|
||||
libasn1-efi.a: $(EFILIBFILES)
|
||||
|
||||
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Apr 13 07:17:01 UTC 2025 - Friedrich Haubensak <hsk17@mail.de>
|
||||
|
||||
- Add efitools-c23.patch to fix gcc-15 compile time errors
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 8 03:40:04 UTC 2024 - Gary Ching-Pang Lin <glin@suse.com>
|
||||
|
||||
|
||||
@@ -25,6 +25,7 @@ URL: https://git.kernel.org/pub/scm/linux/kernel/git/jejb/efitools.gi
|
||||
Source: https://git.kernel.org/pub/scm/linux/kernel/git/jejb/efitools.git/snapshot/%{name}-%{version}.tar.gz
|
||||
Patch1: efitools-disable-efisigned.patch
|
||||
Patch2: efitools-bsc1220470-fix-gcc14-errors.patch
|
||||
Patch3: efitools-c23.patch
|
||||
BuildRequires: gnu-efi
|
||||
BuildRequires: help2man
|
||||
BuildRequires: openssl-devel
|
||||
|
||||
Reference in New Issue
Block a user