commit:     03ee9b92078f11830ae633e489dde4871b0bf32b
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Nov  9 16:54:55 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Nov  9 16:55:14 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=03ee9b92

dev-util/watchman: fix build w/ gcc-15

Closes: https://bugs.gentoo.org/940006
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-util/watchman/files/watchman-2023.06.19.00-gcc15.patch | 11 +++++++++++
 dev-util/watchman/watchman-2023.06.19.00-r1.ebuild         |  1 +
 2 files changed, 12 insertions(+)

diff --git a/dev-util/watchman/files/watchman-2023.06.19.00-gcc15.patch 
b/dev-util/watchman/files/watchman-2023.06.19.00-gcc15.patch
new file mode 100644
index 000000000000..fbbbb0588079
--- /dev/null
+++ b/dev-util/watchman/files/watchman-2023.06.19.00-gcc15.patch
@@ -0,0 +1,11 @@
+https://bugs.gentoo.org/940006
+--- a/watchman/query/GlobTree.h
++++ b/watchman/query/GlobTree.h
+@@ -7,6 +7,7 @@
+ 
+ #pragma once
+ 
++#include <cstdint>
+ #include <memory>
+ #include <string>
+ #include <vector>

diff --git a/dev-util/watchman/watchman-2023.06.19.00-r1.ebuild 
b/dev-util/watchman/watchman-2023.06.19.00-r1.ebuild
index 21cf39c9d5d0..18a9a02d8d3d 100644
--- a/dev-util/watchman/watchman-2023.06.19.00-r1.ebuild
+++ b/dev-util/watchman/watchman-2023.06.19.00-r1.ebuild
@@ -172,6 +172,7 @@ PATCHES=(
        "${FILESDIR}"/${PN}-2022.08.08.00-musl-fsword-fix.patch
        "${FILESDIR}"/${PN}-2023.06.19.00-rust-1.70-avoidance.patch
        "${FILESDIR}"/${PN}-2023.06.19.00-unused.patch
+       "${FILESDIR}"/${PN}-2023.06.19.00-gcc15.patch
 )
 
 # Rust utility

Reply via email to