Skip to content

Commit

Permalink
Add sentry patch for xcode 16 support
Browse files Browse the repository at this point in the history
  • Loading branch information
woutergd authored and nirvn committed Dec 25, 2024
1 parent 8cd7fab commit 158eaf3
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
12 changes: 12 additions & 0 deletions vcpkg/ports/sentry-cocoa/exception.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
diff --git a/Sources/SentryCrash/Recording/Monitors/SentryCrashMonitor_CPPException.cpp b/Sources/SentryCrash/Recording/Monitors/SentryCrashMonitor_CPPException.cpp
index 51996c2f4c..7ab3a473a7 100644
--- a/Sources/SentryCrash/Recording/Monitors/SentryCrashMonitor_CPPException.cpp
+++ b/Sources/SentryCrash/Recording/Monitors/SentryCrashMonitor_CPPException.cpp
@@ -39,6 +39,7 @@
#include <stdlib.h>
#include <string.h>
#include <typeinfo>
+#include <exception>

#define STACKTRACE_BUFFER_LENGTH 30
#define DESCRIPTION_BUFFER_LENGTH 1000
1 change: 1 addition & 0 deletions vcpkg/ports/sentry-cocoa/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ vcpkg_from_github(
PATCHES
stdint.patch
ucontext64.patch
exception.patch
)

file(COPY ${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt DESTINATION ${SOURCE_PATH})
Expand Down

1 comment on commit 158eaf3

@qfield-fairy
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.