aboutsummaryrefslogtreecommitdiff
path: root/ports/protobuf/fix-uwp.patch
diff options
context:
space:
mode:
authoreao197 <eao197@gmail.com>2018-05-30 19:25:16 +0300
committereao197 <eao197@gmail.com>2018-05-30 19:25:16 +0300
commit99eb78cf2dd8b000ac195dd9ebba4fb344dc5baa (patch)
tree18072db815a8f417c4d63a00ae95286642f0dff3 /ports/protobuf/fix-uwp.patch
parent34257a50ceda0bfa05e59b532f71223b70f39d52 (diff)
parent842252373992a9c7b74f041607b47754d61cc0c8 (diff)
downloadvcpkg-99eb78cf2dd8b000ac195dd9ebba4fb344dc5baa.tar.gz
vcpkg-99eb78cf2dd8b000ac195dd9ebba4fb344dc5baa.zip
Merge https://github.com/Microsoft/vcpkg
Diffstat (limited to 'ports/protobuf/fix-uwp.patch')
-rw-r--r--ports/protobuf/fix-uwp.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/ports/protobuf/fix-uwp.patch b/ports/protobuf/fix-uwp.patch
new file mode 100644
index 000000000..ba09d5913
--- /dev/null
+++ b/ports/protobuf/fix-uwp.patch
@@ -0,0 +1,12 @@
+diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt
+index 3afe376..1a0b6a7 100644
+--- a/cmake/CMakeLists.txt
++++ b/cmake/CMakeLists.txt
+@@ -151,6 +151,7 @@ if (MSVC)
+ /wd4506 # no definition for inline function 'function'
+ /wd4800 # 'type' : forcing value to bool 'true' or 'false' (performance warning)
+ /wd4996 # The compiler encountered a deprecated declaration.
++ /wd4703 # Potentially uninitialized local pointer variable 'name' used.
+ )
+ # Allow big object
+ add_definitions(/bigobj)