aboutsummaryrefslogtreecommitdiff
path: root/ports/libxml2/fix-uwp.patch
diff options
context:
space:
mode:
authorNancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>2021-08-03 07:44:53 +0800
committerGitHub <noreply@github.com>2021-08-02 16:44:53 -0700
commitfb24bdc58be7791fcf31baa8476eb6561010b06a (patch)
treea5f193203dd76ef9c2489c7c1a482099c29bf19f /ports/libxml2/fix-uwp.patch
parent2f573976e68cc1ededbfa811adb4475dea321872 (diff)
downloadvcpkg-fb24bdc58be7791fcf31baa8476eb6561010b06a.tar.gz
vcpkg-fb24bdc58be7791fcf31baa8476eb6561010b06a.zip
[libxml2] Fix build error on uwp (#19221)
* [libxml2] Fix build error on uwp * Update versions
Diffstat (limited to 'ports/libxml2/fix-uwp.patch')
-rw-r--r--ports/libxml2/fix-uwp.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/ports/libxml2/fix-uwp.patch b/ports/libxml2/fix-uwp.patch
new file mode 100644
index 000000000..ce57a9ed1
--- /dev/null
+++ b/ports/libxml2/fix-uwp.patch
@@ -0,0 +1,12 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 9b45d62..ba8bfec 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -129,6 +129,7 @@ endif()
+
+ if(MSVC)
+ configure_file(include/win32config.h config.h COPYONLY)
++ add_compile_options(/wd4996)
+ else()
+ check_c_source_compiles("
+ void __attribute__((destructor))