diff --git a/vcpkg/ports/sentry-cocoa/exception.patch b/vcpkg/ports/sentry-cocoa/exception.patch new file mode 100644 index 0000000000..ad2cb77516 --- /dev/null +++ b/vcpkg/ports/sentry-cocoa/exception.patch @@ -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 + #include + #include ++#include + + #define STACKTRACE_BUFFER_LENGTH 30 + #define DESCRIPTION_BUFFER_LENGTH 1000 diff --git a/vcpkg/ports/sentry-cocoa/portfile.cmake b/vcpkg/ports/sentry-cocoa/portfile.cmake index 708b6081a5..f8dd4f426e 100644 --- a/vcpkg/ports/sentry-cocoa/portfile.cmake +++ b/vcpkg/ports/sentry-cocoa/portfile.cmake @@ -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})