aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarlos O'Ryan <coryan@users.noreply.github.com>2021-02-21 00:21:05 -0500
committerGitHub <noreply@github.com>2021-02-20 21:21:05 -0800
commit4d0234f8ad5db84df218df48224697a1f44f0f49 (patch)
tree2f349c11e3acab23be30b0080289e8110948efcb
parentbafa1697ba0a5a8de58c1c226b5fb22056ba8049 (diff)
downloadvcpkg-4d0234f8ad5db84df218df48224697a1f44f0f49.tar.gz
vcpkg-4d0234f8ad5db84df218df48224697a1f44f0f49.zip
[functions-framework-cpp] update to latest release (v0.4.0) (#16307)
* [functions-framework-cpp] update to latest release (v0.4.0) * Apply patch for MSVC, fixing upstream right now * I was wondering if this would need a new version * Delete port version
-rw-r--r--ports/functions-framework-cpp/0001-fix-msvc-build.patch12
-rw-r--r--ports/functions-framework-cpp/portfile.cmake6
-rw-r--r--ports/functions-framework-cpp/vcpkg.json3
-rw-r--r--versions/baseline.json4
-rw-r--r--versions/f-/functions-framework-cpp.json5
5 files changed, 24 insertions, 6 deletions
diff --git a/ports/functions-framework-cpp/0001-fix-msvc-build.patch b/ports/functions-framework-cpp/0001-fix-msvc-build.patch
new file mode 100644
index 000000000..3bd928303
--- /dev/null
+++ b/ports/functions-framework-cpp/0001-fix-msvc-build.patch
@@ -0,0 +1,12 @@
+diff --git a/google/cloud/functions/internal/base64_decode.cc b/google/cloud/functions/internal/base64_decode.cc
+index 038cb47..38c9a72 100644
+--- a/google/cloud/functions/internal/base64_decode.cc
++++ b/google/cloud/functions/internal/base64_decode.cc
+@@ -15,6 +15,7 @@
+ #include "google/cloud/functions/internal/base64_decode.h"
+ #include <boost/archive/iterators/binary_from_base64.hpp>
+ #include <boost/archive/iterators/transform_width.hpp>
++#include <stdexcept>
+
+ namespace google::cloud::functions_internal {
+ inline namespace FUNCTIONS_FRAMEWORK_CPP_NS {
diff --git a/ports/functions-framework-cpp/portfile.cmake b/ports/functions-framework-cpp/portfile.cmake
index 78c6ea647..1330828b7 100644
--- a/ports/functions-framework-cpp/portfile.cmake
+++ b/ports/functions-framework-cpp/portfile.cmake
@@ -4,9 +4,11 @@ vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO GoogleCloudPlatform/functions-framework-cpp
- REF v0.3.0
- SHA512 28594c275b7ac85ccbdcd9a1ab8e3a7c26932006f0da6ede4aab29f303305536b111cbcf99e9f8558f71f56876bc3e3b790f0627bd708ec9b09999f27ef37f3b
+ REF v0.4.0
+ SHA512 89f1322cdefcafcff84a3afa95529068481dfb4f3ae363cd81e8b5a54f1d9158c402e2fa3f441428e6ab41e6c91d1280ebff8c3b6e239e4c064cedad34a15d6d
HEAD_REF main
+ PATCHES
+ 0001-fix-msvc-build.patch
)
vcpkg_configure_cmake(
diff --git a/ports/functions-framework-cpp/vcpkg.json b/ports/functions-framework-cpp/vcpkg.json
index 3c220443f..220c60d75 100644
--- a/ports/functions-framework-cpp/vcpkg.json
+++ b/ports/functions-framework-cpp/vcpkg.json
@@ -1,7 +1,6 @@
{
"name": "functions-framework-cpp",
- "version": "0.3.0",
- "port-version": 2,
+ "version": "0.4.0",
"description": "Functions Framework for C++.",
"homepage": "https://github.com/GoogleCloudPlatform/functions-framework-cpp/",
"license": "Apache-2.0",
diff --git a/versions/baseline.json b/versions/baseline.json
index f1c8abdad..33db3591f 100644
--- a/versions/baseline.json
+++ b/versions/baseline.json
@@ -2077,8 +2077,8 @@
"port-version": 0
},
"functions-framework-cpp": {
- "baseline": "0.3.0",
- "port-version": 2
+ "baseline": "0.4.0",
+ "port-version": 0
},
"fuzzylite": {
"baseline": "6.0",
diff --git a/versions/f-/functions-framework-cpp.json b/versions/f-/functions-framework-cpp.json
index a2a44b384..6b03f79b7 100644
--- a/versions/f-/functions-framework-cpp.json
+++ b/versions/f-/functions-framework-cpp.json
@@ -1,6 +1,11 @@
{
"versions": [
{
+ "git-tree": "7018d9db8c166cb81ffb1c291535491aad98b339",
+ "version": "0.4.0",
+ "port-version": 0
+ },
+ {
"git-tree": "c99280d0ee9b2e57960d13b54521a2305c1f85a8",
"version": "0.3.0",
"port-version": 2