mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-28 19:25:27 +08:00
[sentry-native] Disable warning C5105 (#14349)
This commit is contained in:
parent
9032255d41
commit
68dae46cb6
@ -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)
|
||||
|
12
ports/sentry-native/fix-warningC5105.patch
Normal file
12
ports/sentry-native/fix-warningC5105.patch
Normal file
@ -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"
|
||||
|
@ -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
|
||||
)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user