diff options
| author | Phoebe <20694052+PhoebeHui@users.noreply.github.com> | 2021-09-29 23:46:34 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-09-29 08:46:34 -0700 |
| commit | d65f732c974908d26555ebee959d4c046e44051c (patch) | |
| tree | 8cbeb00fb86b46d8da7669ebf670c149dba75786 /ports/boost-process | |
| parent | d9f00e925a08047c4331ff162fc62d79402905aa (diff) | |
| download | vcpkg-d65f732c974908d26555ebee959d4c046e44051c.tar.gz vcpkg-d65f732c974908d26555ebee959d4c046e44051c.zip | |
[boost-process] Add missing include on algorithm (#20421)
Diffstat (limited to 'ports/boost-process')
| -rw-r--r-- | ports/boost-process/fix_include.patch | 13 | ||||
| -rw-r--r-- | ports/boost-process/portfile.cmake | 2 | ||||
| -rw-r--r-- | ports/boost-process/vcpkg.json | 1 |
3 files changed, 16 insertions, 0 deletions
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 <boost/process/detail/traits/env.hpp> + #include <boost/process/locale.hpp> + ++#include <algorithm> ++ + 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", |
