commit:     9e2bdfed3acc72f285afb307376a21c6549b9f4f
Author:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Thu Jul 10 15:58:54 2025 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Thu Jul 10 15:58:54 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e2bdfed

app-crypt/efitools: Fix GCC 15 patch

I included stdbool.h in the wrong place.

Closes: https://bugs.gentoo.org/959631
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>

 app-crypt/efitools/files/1.9.2-gcc15.patch | 12 +++---------
 1 file changed, 3 insertions(+), 9 deletions(-)

diff --git a/app-crypt/efitools/files/1.9.2-gcc15.patch 
b/app-crypt/efitools/files/1.9.2-gcc15.patch
index def6bb59cb51..0a73f12eca28 100644
--- a/app-crypt/efitools/files/1.9.2-gcc15.patch
+++ b/app-crypt/efitools/files/1.9.2-gcc15.patch
@@ -1,20 +1,14 @@
 https://bugs.gentoo.org/955698
+https://bugs.gentoo.org/959631
 
 --- a/lib/asn1/typedefs.h
 +++ b/lib/asn1/typedefs.h
-@@ -34,6 +34,7 @@
- #include <stdio.h>
- #include <stdlib.h>
- #include <stdarg.h>
-+#include <stdbool.h>
- #include <sys/stat.h>
- #include <sys/types.h>
- #include <unistd.h>
-@@ -52,7 +53,6 @@
+@@ -52,7 +52,7 @@
  
  #endif
  
 -typedef unsigned char bool;
++#include <stdbool.h>
  typedef unsigned int u_int;
  
  #define DBG1(s...)

Reply via email to