commit:     dc1af608ac31b94b9f37c6f2a74b541395f20f3d
Author:     Nicolas PARLANT <nicolas.parlant <AT> parhuet <DOT> fr>
AuthorDate: Tue Aug 12 07:40:10 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Aug 16 06:47:17 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc1af608

dev-libs/botan: add missing include

Add missing include with tools enabled.
Not required for higher versions.

Closes: https://bugs.gentoo.org/942814
Signed-off-by: Nicolas PARLANT <nicolas.parlant <AT> parhuet.fr>
Part-of: https://github.com/gentoo/gentoo/pull/43458
Closes: https://github.com/gentoo/gentoo/pull/43458
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-libs/botan/botan-2.19.5.ebuild              |  1 +
 dev-libs/botan/files/botan-2.19.5-include.patch | 13 +++++++++++++
 2 files changed, 14 insertions(+)

diff --git a/dev-libs/botan/botan-2.19.5.ebuild 
b/dev-libs/botan/botan-2.19.5.ebuild
index a80a04173bdc..0ebd0834ded3 100644
--- a/dev-libs/botan/botan-2.19.5.ebuild
+++ b/dev-libs/botan/botan-2.19.5.ebuild
@@ -57,6 +57,7 @@ PATCHES=(
        "${FILESDIR}"/${P}-no-distutils.patch
        "${FILESDIR}"/${P}-boost-1.87.patch
        "${FILESDIR}"/${P}-cloudflare.patch
+       "${FILESDIR}"/${P}-include.patch
 )
 
 python_check_deps() {

diff --git a/dev-libs/botan/files/botan-2.19.5-include.patch 
b/dev-libs/botan/files/botan-2.19.5-include.patch
new file mode 100644
index 000000000000..7bcc18f0d171
--- /dev/null
+++ b/dev-libs/botan/files/botan-2.19.5-include.patch
@@ -0,0 +1,13 @@
+Add missing include
+See https://bugs.gentoo.org/942814
+> src/.../cli.h: error: uint8_t does not name a type
+--- a/src/cli/cli.h
++++ b/src/cli/cli.h
+@@ -8,6 +8,7 @@
+ #define BOTAN_CLI_H_
+ 
+ #include <botan/build.h>
++#include <cstdint>
+ #include <functional>
+ #include <ostream>
+ #include <map>

Reply via email to