summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Maier <tamiko@gentoo.org>2024-11-03 23:14:46 -0600
committerMatthias Maier <tamiko@gentoo.org>2024-11-03 23:14:46 -0600
commitc25187d2a8c1103c924121953c9f63f48f37ef38 (patch)
tree97696292c71eb532e4aa15a0185ae0d935e5fb1e /dev-lang
parentdev-python/typeguard: Bump to 4.4.1 (diff)
downloadgentoo-c25187d2a8c1103c924121953c9f63f48f37ef38.tar.gz
gentoo-c25187d2a8c1103c924121953c9f63f48f37ef38.tar.bz2
gentoo-c25187d2a8c1103c924121953c9f63f48f37ef38.zip
dev-lang/julia: add missing <cstdint> includes
Thanks to Ted Rodgers for the patch! Closes: https://bugs.gentoo.org/940233 Signed-off-by: Matthias Maier <tamiko@gentoo.org>
Diffstat (limited to 'dev-lang')
-rw-r--r--dev-lang/julia/files/julia-1.8.5-cstdint-includes.patch54
-rw-r--r--dev-lang/julia/julia-1.8.5-r1.ebuild1
2 files changed, 55 insertions, 0 deletions
diff --git a/dev-lang/julia/files/julia-1.8.5-cstdint-includes.patch b/dev-lang/julia/files/julia-1.8.5-cstdint-includes.patch
new file mode 100644
index 000000000000..379a14cc8fb9
--- /dev/null
+++ b/dev-lang/julia/files/julia-1.8.5-cstdint-includes.patch
@@ -0,0 +1,54 @@
+From fd2ab505cbc24ad583fc2998268b7675caa7697a Mon Sep 17 00:00:00 2001
+From: Ted Rodgers <ted.d.rodgers@gmail.com>
+Date: Sun, 3 Nov 2024 23:35:32 -0500
+Subject: [PATCH] added cstdint include for
+ deps/srccache/JuliaLang-llvm-project-8a2ae8c/llvm/include/llvm/ADT/SmallVector.h
+ +
+ deps/srccache/JuliaLang-llvm-project-8a2ae8c/llvm/lib/Target/X86/MCTargetDesc/X86MCTargetDesc.h
+ +
+ deps/srccache/JuliaLang-llvm-project-8a2ae8c/llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUMCTargetDesc.h
+
+---
+ .../llvm/include/llvm/ADT/SmallVector.h | 1 +
+ .../llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUMCTargetDesc.h | 1 +
+ .../llvm/lib/Target/X86/MCTargetDesc/X86MCTargetDesc.h | 1 +
+ 3 files changed, 3 insertions(+)
+
+diff --git a/deps/srccache/JuliaLang-llvm-project-8a2ae8c/llvm/include/llvm/ADT/SmallVector.h b/deps/srccache/JuliaLang-llvm-project-8a2ae8c/llvm/include/llvm/ADT/SmallVector.h
+index b8a11030f..8bce0ea95 100644
+--- a/deps/srccache/JuliaLang-llvm-project-8a2ae8c/llvm/include/llvm/ADT/SmallVector.h
++++ b/deps/srccache/JuliaLang-llvm-project-8a2ae8c/llvm/include/llvm/ADT/SmallVector.h
+@@ -21,6 +21,7 @@
+ #include <algorithm>
+ #include <cassert>
+ #include <cstddef>
++#include <cstdint>
+ #include <cstdlib>
+ #include <cstring>
+ #include <functional>
+diff --git a/deps/srccache/JuliaLang-llvm-project-8a2ae8c/llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUMCTargetDesc.h b/deps/srccache/JuliaLang-llvm-project-8a2ae8c/llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUMCTargetDesc.h
+index 71b44a509..c87ff085e 100644
+--- a/deps/srccache/JuliaLang-llvm-project-8a2ae8c/llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUMCTargetDesc.h
++++ b/deps/srccache/JuliaLang-llvm-project-8a2ae8c/llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUMCTargetDesc.h
+@@ -15,6 +15,7 @@
+ #ifndef LLVM_LIB_TARGET_AMDGPU_MCTARGETDESC_AMDGPUMCTARGETDESC_H
+ #define LLVM_LIB_TARGET_AMDGPU_MCTARGETDESC_AMDGPUMCTARGETDESC_H
+
++#include <cstdint>
+ #include <memory>
+
+ namespace llvm {
+diff --git a/deps/srccache/JuliaLang-llvm-project-8a2ae8c/llvm/lib/Target/X86/MCTargetDesc/X86MCTargetDesc.h b/deps/srccache/JuliaLang-llvm-project-8a2ae8c/llvm/lib/Target/X86/MCTargetDesc/X86MCTargetDesc.h
+index 35604cd3e..93cb72ad7 100644
+--- a/deps/srccache/JuliaLang-llvm-project-8a2ae8c/llvm/lib/Target/X86/MCTargetDesc/X86MCTargetDesc.h
++++ b/deps/srccache/JuliaLang-llvm-project-8a2ae8c/llvm/lib/Target/X86/MCTargetDesc/X86MCTargetDesc.h
+@@ -13,6 +13,7 @@
+ #ifndef LLVM_LIB_TARGET_X86_MCTARGETDESC_X86MCTARGETDESC_H
+ #define LLVM_LIB_TARGET_X86_MCTARGETDESC_X86MCTARGETDESC_H
+
++#include <cstdint>
+ #include <memory>
+ #include <string>
+
+--
+2.47.0 \ No newline at end of file
diff --git a/dev-lang/julia/julia-1.8.5-r1.ebuild b/dev-lang/julia/julia-1.8.5-r1.ebuild
index 5c62824bd624..555a81908e12 100644
--- a/dev-lang/julia/julia-1.8.5-r1.ebuild
+++ b/dev-lang/julia/julia-1.8.5-r1.ebuild
@@ -67,6 +67,7 @@ CHECKREQS_DISK_BUILD="4G"
PATCHES=(
"${DISTDIR}"/${PN}-0b211609.patch
"${DISTDIR}"/${PN}-a48ad530.patch
+ "${FILESDIR}"/${PN}-1.8.5-cstdint-includes.patch
"${FILESDIR}"/${PN}-1.8.0-llvm-no-bindings.patch
"${FILESDIR}"/${PN}-1.8.3-gcc13.patch
)