aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJozef Izso <jozef.izso@gmail.com>2020-05-20 00:09:01 +0200
committerGitHub <noreply@github.com>2020-05-19 15:09:01 -0700
commite6c6d96218e390f71b6c83761b7c73de188fbbdd (patch)
tree809c45609d24720e87bd239cc91ea228dd0cc0c3
parent36fcce0bbf1fff1e42e561842a2afc1864f699c1 (diff)
downloadvcpkg-e6c6d96218e390f71b6c83761b7c73de188fbbdd.tar.gz
vcpkg-e6c6d96218e390f71b6c83761b7c73de188fbbdd.zip
[protobuf] protobuf v3.12.0 (#11397)
* [protobuf] protobuf v3.12.0 * Fix ignition-msg5 library to compile with protobuf 3.12
-rw-r--r--ports/ignition-msgs5/01-protobuf.patch13
-rw-r--r--ports/ignition-msgs5/portfile.cmake4
-rw-r--r--ports/protobuf/CONTROL2
-rw-r--r--ports/protobuf/fix-uwp.patch4
-rw-r--r--ports/protobuf/portfile.cmake4
5 files changed, 21 insertions, 6 deletions
diff --git a/ports/ignition-msgs5/01-protobuf.patch b/ports/ignition-msgs5/01-protobuf.patch
new file mode 100644
index 000000000..71ea936b1
--- /dev/null
+++ b/ports/ignition-msgs5/01-protobuf.patch
@@ -0,0 +1,13 @@
+diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
+index f68bf3d..d4d1372 100644
+--- a/src/CMakeLists.txt
++++ b/src/CMakeLists.txt
+@@ -135,6 +135,8 @@ if(MSVC)
+ # warning is not important since those members do not need to be interfaced
+ # with.
+ set_source_files_properties(${gen_sources} COMPILE_FLAGS "/wd4251 /wd4146")
++ # Fix for protobuf 3.12 - allow big object files
++ add_definitions(/bigobj)
+ endif()
+
+ set_source_files_properties(${gen_headers} ${gen_sources} ${gen_ruby_scripts}
diff --git a/ports/ignition-msgs5/portfile.cmake b/ports/ignition-msgs5/portfile.cmake
index c853d9d83..812a1bca7 100644
--- a/ports/ignition-msgs5/portfile.cmake
+++ b/ports/ignition-msgs5/portfile.cmake
@@ -12,7 +12,9 @@ vcpkg_add_to_path(${CURRENT_INSTALLED_DIR}/debug/bin)
ignition_modular_library(NAME msgs
VERSION "5.1.0"
- SHA512 db485f737c465b310602342a1a751c561473e330eb18d1b322b32d13de246536fe6a7efdf245faaaa9be1c9bfce662b2d39d1bb7cffc37e52690893cb47cc2ee)
+ SHA512 db485f737c465b310602342a1a751c561473e330eb18d1b322b32d13de246536fe6a7efdf245faaaa9be1c9bfce662b2d39d1bb7cffc37e52690893cb47cc2ee
+ PATCHES
+ "01-protobuf.patch")
# Restore old path
set(ENV{PATH} ${path_backup})
diff --git a/ports/protobuf/CONTROL b/ports/protobuf/CONTROL
index 2385d6e32..1b8551bf5 100644
--- a/ports/protobuf/CONTROL
+++ b/ports/protobuf/CONTROL
@@ -1,5 +1,5 @@
Source: protobuf
-Version: 3.11.4-1
+Version: 3.12.0
Homepage: https://github.com/google/protobuf
Description: Protocol Buffers - Google's data interchange format
diff --git a/ports/protobuf/fix-uwp.patch b/ports/protobuf/fix-uwp.patch
index 7a993c5c0..af3795df4 100644
--- a/ports/protobuf/fix-uwp.patch
+++ b/ports/protobuf/fix-uwp.patch
@@ -1,8 +1,8 @@
diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt
-index f87b0928e..5102a10e3 100644
+index 849679995..dba537a68 100644
--- a/cmake/CMakeLists.txt
+++ b/cmake/CMakeLists.txt
-@@ -190,6 +190,7 @@ if (MSVC)
+@@ -198,6 +198,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.
diff --git a/ports/protobuf/portfile.cmake b/ports/protobuf/portfile.cmake
index a5e9252ad..230e0b9cd 100644
--- a/ports/protobuf/portfile.cmake
+++ b/ports/protobuf/portfile.cmake
@@ -1,8 +1,8 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO protocolbuffers/protobuf
- REF v3.11.4
- SHA512 777bbb0e9e2375eaebe6b8c87abd660bac70ee469c9ad00dd25917b82d7fb5bbe33cf87f0d69c90e19d55c07a7285ec20974ba4768623ce9ccfadf147fd5e261
+ REF v3.12.0
+ SHA512 2a5448651db557505ad0ad88e681b88c956de7a7b8b029f8685416629d55b09dd35a0d1219311c524b9981067c3685178d89918d4fc2540d30669e9ad0c7c2d0
HEAD_REF master
PATCHES
fix-uwp.patch