app-misc/task: add missing <cstdint> include for GCC 15

Bug: https://bugs.gentoo.org/937389
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Max
2025-09-14 22:30:49 -05:00
committed by Sam James
parent 6cdb256293
commit 1edd2866c0
2 changed files with 14 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
diff --git a/src/libshared/src/JSON.h b/src/libshared/src/JSON.h
index 3e197c2..4b35e38 100644
--- a/src/libshared/src/JSON.h
+++ b/src/libshared/src/JSON.h
@@ -31,6 +31,7 @@
#include <vector>
#include <string>
#include <Pig.h>
+#include <cstdint>
namespace json
{

View File

@@ -27,6 +27,8 @@ src_prepare() {
cmake_src_prepare
eapply "${FILESDIR}/task-2.6.2-gcc15-cstdint-include.patch"
# don't automatically install scripts
sed -i '/scripts/d' CMakeLists.txt || die
}