mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
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:
12
app-misc/task/files/task-2.6.2-gcc15-cstdint-include.patch
Normal file
12
app-misc/task/files/task-2.6.2-gcc15-cstdint-include.patch
Normal 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
|
||||
{
|
||||
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user