summaryrefslogtreecommitdiff
path: root/dev-dotnet/dotnet-sdk/files/dotnet-sdk-9.0.108-libunwind.patch
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2025-07-12 21:56:30 +0200
committerMaciej Barć <xgqt@gentoo.org>2025-07-12 22:28:16 +0200
commitb90e60ae105ecaf7a993a52342cfd602c32800a0 (patch)
tree8d974a232d19fa65e2f399e61908d352325c0d2b /dev-dotnet/dotnet-sdk/files/dotnet-sdk-9.0.108-libunwind.patch
parentae0720db11b0edcd366b64323a5edfebe00cb7eb (diff)
downloadgentoo-b90e60ae105ecaf7a993a52342cfd602c32800a0.tar.gz
gentoo-b90e60ae105ecaf7a993a52342cfd602c32800a0.tar.bz2
gentoo-b90e60ae105ecaf7a993a52342cfd602c32800a0.zip
dev-dotnet/dotnet-sdk: bump to 9.0.108
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'dev-dotnet/dotnet-sdk/files/dotnet-sdk-9.0.108-libunwind.patch')
-rw-r--r--dev-dotnet/dotnet-sdk/files/dotnet-sdk-9.0.108-libunwind.patch37
1 files changed, 37 insertions, 0 deletions
diff --git a/dev-dotnet/dotnet-sdk/files/dotnet-sdk-9.0.108-libunwind.patch b/dev-dotnet/dotnet-sdk/files/dotnet-sdk-9.0.108-libunwind.patch
new file mode 100644
index 000000000000..b08d442f9e00
--- /dev/null
+++ b/dev-dotnet/dotnet-sdk/files/dotnet-sdk-9.0.108-libunwind.patch
@@ -0,0 +1,37 @@
+Comment out if-defs that cause build falure.
+
+Suggested-by: Armas Spann <zappel@simple-co.de>
+
+--- a/src/runtime/src/native/external/llvm-libunwind/src/Registers.hpp
++++ b/src/runtime/src/native/external/llvm-libunwind/src/Registers.hpp
+@@ -318,11 +318,13 @@
+ class _LIBUNWIND_HIDDEN Registers_x86_64;
+ extern "C" void __libunwind_Registers_x86_64_jumpto(Registers_x86_64 *);
+
++/* not applicable if libunwind is used
+ #if defined(_LIBUNWIND_USE_CET)
+ extern "C" void *__libunwind_cet_get_jump_target() {
+ return reinterpret_cast<void *>(&__libunwind_Registers_x86_64_jumpto);
+ }
+ #endif
++*/
+
+ class _LIBUNWIND_HIDDEN Registers_x86_64 {
+ public:
+--- a/src/runtime/src/native/external/llvm-libunwind/src/UnwindCursor.hpp
++++ b/src/runtime/src/native/external/llvm-libunwind/src/UnwindCursor.hpp
+@@ -3022,12 +3022,14 @@
+ }
+ #endif
+
++/* not applicable if libunwind is used
+ #if defined(_LIBUNWIND_USE_CET)
+ extern "C" void *__libunwind_cet_get_registers(unw_cursor_t *cursor) {
+ AbstractUnwindCursor *co = (AbstractUnwindCursor *)cursor;
+ return co->get_registers();
+ }
+ #endif
++*/
+ } // namespace libunwind
+
+ #endif // __UNWINDCURSOR_HPP__