diff options
Diffstat (limited to 'ports/functions-framework-cpp')
| -rw-r--r-- | ports/functions-framework-cpp/0001-fix-msvc-build.patch | 12 | ||||
| -rw-r--r-- | ports/functions-framework-cpp/portfile.cmake | 6 | ||||
| -rw-r--r-- | ports/functions-framework-cpp/vcpkg.json | 3 |
3 files changed, 17 insertions, 4 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", |
