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@gentoo.org>
This commit is contained in:
James Le Cuirot 2025-07-10 16:58:54 +01:00
parent e4bb4e13db
commit 9e2bdfed3a
No known key found for this signature in database
GPG Key ID: 1226415D00DD3137

View File

@ -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...)