diff options
| author | Lily <47812810+LilyWangL@users.noreply.github.com> | 2020-11-06 05:55:35 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-11-05 13:55:35 -0800 |
| commit | 68dae46cb66249e38d21fa0b3875e568705792a8 (patch) | |
| tree | 905c1b1b2b1d227b2b978acbdbec43d3b8647534 | |
| parent | 9032255d4146e3b00903233f8233727ad4067a0e (diff) | |
| download | vcpkg-68dae46cb66249e38d21fa0b3875e568705792a8.tar.gz vcpkg-68dae46cb66249e38d21fa0b3875e568705792a8.zip | |
[sentry-native] Disable warning C5105 (#14349)
| -rw-r--r-- | ports/sentry-native/CONTROL | 1 | ||||
| -rw-r--r-- | ports/sentry-native/fix-warningC5105.patch | 12 | ||||
| -rw-r--r-- | ports/sentry-native/portfile.cmake | 1 |
3 files changed, 14 insertions, 0 deletions
diff --git a/ports/sentry-native/CONTROL b/ports/sentry-native/CONTROL index 4326ee72e..40fbe7d6b 100644 --- a/ports/sentry-native/CONTROL +++ b/ports/sentry-native/CONTROL @@ -1,5 +1,6 @@ Source: sentry-native
Version: 0.4.3
+Port-Version: 1
Homepage: https://sentry.io/
Description: Sentry SDK for C, C++ and native applications.
Build-Depends: curl (!windows)
diff --git a/ports/sentry-native/fix-warningC5105.patch b/ports/sentry-native/fix-warningC5105.patch new file mode 100644 index 000000000..52f0dc705 --- /dev/null +++ b/ports/sentry-native/fix-warningC5105.patch @@ -0,0 +1,12 @@ +diff --git a/external/crashpad/third_party/zlib/zlib/x86.c b/external/crashpad/third_party/zlib/zlib/x86.c +index e56fe8b..902e373 100644 +--- a/external/crashpad/third_party/zlib/zlib/x86.c ++++ b/external/crashpad/third_party/zlib/zlib/x86.c +@@ -8,6 +8,7 @@ + * For conditions of distribution and use, see copyright notice in zlib.h + */ + ++#pragma warning(disable : 5105) + #include "x86.h" + #include "zutil.h" + diff --git a/ports/sentry-native/portfile.cmake b/ports/sentry-native/portfile.cmake index eb5bde8ee..54533d73c 100644 --- a/ports/sentry-native/portfile.cmake +++ b/ports/sentry-native/portfile.cmake @@ -9,6 +9,7 @@ vcpkg_download_distfile(ARCHIVE vcpkg_extract_source_archive_ex(
OUT_SOURCE_PATH SOURCE_PATH
ARCHIVE ${ARCHIVE}
+ PATCHES fix-warningC5105.patch
NO_REMOVE_ONE_LEVEL
)
|
