From d65f732c974908d26555ebee959d4c046e44051c Mon Sep 17 00:00:00 2001 From: Phoebe <20694052+PhoebeHui@users.noreply.github.com> Date: Wed, 29 Sep 2021 23:46:34 +0800 Subject: [boost-process] Add missing include on algorithm (#20421) --- ports/boost-process/fix_include.patch | 13 +++++++++++++ ports/boost-process/portfile.cmake | 2 ++ ports/boost-process/vcpkg.json | 1 + versions/b-/boost-process.json | 5 +++++ versions/baseline.json | 2 +- 5 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 ports/boost-process/fix_include.patch diff --git a/ports/boost-process/fix_include.patch b/ports/boost-process/fix_include.patch new file mode 100644 index 000000000..49d306918 --- /dev/null +++ b/ports/boost-process/fix_include.patch @@ -0,0 +1,13 @@ +diff --git a/include/boost/process/detail/traits/wchar_t.hpp b/include/boost/process/detail/traits/wchar_t.hpp +index 812a92c..98026d3 100644 +--- a/include/boost/process/detail/traits/wchar_t.hpp ++++ b/include/boost/process/detail/traits/wchar_t.hpp +@@ -12,6 +12,8 @@ + #include + #include + ++#include ++ + namespace boost { namespace process { namespace detail { + + //template diff --git a/ports/boost-process/portfile.cmake b/ports/boost-process/portfile.cmake index 27c0d1647..262e9f07d 100644 --- a/ports/boost-process/portfile.cmake +++ b/ports/boost-process/portfile.cmake @@ -6,6 +6,8 @@ vcpkg_from_github( REF boost-1.77.0 SHA512 00eb27f702f092a20fdf1669b8c9c993b751971592d0bc5aa50b02d99d985a75361621b624aa51eb550c9e7905e15877168ae9d0feb1957fc85f99c264b152fd HEAD_REF master + PATCHES + fix_include.patch ) include(${CURRENT_INSTALLED_DIR}/share/boost-vcpkg-helpers/boost-modular-headers.cmake) diff --git a/ports/boost-process/vcpkg.json b/ports/boost-process/vcpkg.json index 594b842c6..904e90238 100644 --- a/ports/boost-process/vcpkg.json +++ b/ports/boost-process/vcpkg.json @@ -1,6 +1,7 @@ { "name": "boost-process", "version": "1.77.0", + "port-version": 1, "description": "Boost process module", "homepage": "https://github.com/boostorg/process", "supports": "!emscripten", diff --git a/versions/b-/boost-process.json b/versions/b-/boost-process.json index 464304c2f..d30c66c9e 100644 --- a/versions/b-/boost-process.json +++ b/versions/b-/boost-process.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "e70acbb855538f95200b341b1cf26d9c1dc6e6cd", + "version": "1.77.0", + "port-version": 1 + }, { "git-tree": "6589096a03d4f8ea1590b1b9e1bdc41a47c2f907", "version": "1.77.0", diff --git a/versions/baseline.json b/versions/baseline.json index 9d6dfb5ad..1f3b359b2 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -898,7 +898,7 @@ }, "boost-process": { "baseline": "1.77.0", - "port-version": 0 + "port-version": 1 }, "boost-program-options": { "baseline": "1.77.0", -- cgit v1.2.3