diff --git a/app-crypt/efitools/efitools-1.9.2-r1.ebuild b/app-crypt/efitools/efitools-1.9.2-r1.ebuild index 0deba136bb4c9..19832a9ca84ad 100644 --- a/app-crypt/efitools/efitools-1.9.2-r1.ebuild +++ b/app-crypt/efitools/efitools-1.9.2-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -31,6 +31,7 @@ BDEPEND=" PATCHES=( "${FILESDIR}"/1.9.2-clang16.patch "${FILESDIR}"/1.9.2-Makefile.patch + "${FILESDIR}"/1.9.2-gcc15.patch ) src_prepare() { diff --git a/app-crypt/efitools/files/1.9.2-gcc15.patch b/app-crypt/efitools/files/1.9.2-gcc15.patch new file mode 100644 index 0000000000000..def6bb59cb51f --- /dev/null +++ b/app-crypt/efitools/files/1.9.2-gcc15.patch @@ -0,0 +1,20 @@ +https://bugs.gentoo.org/955698 + +--- a/lib/asn1/typedefs.h ++++ b/lib/asn1/typedefs.h +@@ -34,6 +34,7 @@ + #include + #include + #include ++#include + #include + #include + #include +@@ -52,7 +53,6 @@ + + #endif + +-typedef unsigned char bool; + typedef unsigned int u_int; + + #define DBG1(s...)