[boost-process] Add missing include on algorithm (#20421)

This commit is contained in:
Phoebe 2021-09-29 23:46:34 +08:00 committed by GitHub
parent d9f00e925a
commit d65f732c97
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 22 additions and 1 deletions

View File

@ -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

View File

@ -6,6 +6,8 @@ vcpkg_from_github(
REF boost-1.77.0 REF boost-1.77.0
SHA512 00eb27f702f092a20fdf1669b8c9c993b751971592d0bc5aa50b02d99d985a75361621b624aa51eb550c9e7905e15877168ae9d0feb1957fc85f99c264b152fd SHA512 00eb27f702f092a20fdf1669b8c9c993b751971592d0bc5aa50b02d99d985a75361621b624aa51eb550c9e7905e15877168ae9d0feb1957fc85f99c264b152fd
HEAD_REF master HEAD_REF master
PATCHES
fix_include.patch
) )
include(${CURRENT_INSTALLED_DIR}/share/boost-vcpkg-helpers/boost-modular-headers.cmake) include(${CURRENT_INSTALLED_DIR}/share/boost-vcpkg-helpers/boost-modular-headers.cmake)

View File

@ -1,6 +1,7 @@
{ {
"name": "boost-process", "name": "boost-process",
"version": "1.77.0", "version": "1.77.0",
"port-version": 1,
"description": "Boost process module", "description": "Boost process module",
"homepage": "https://github.com/boostorg/process", "homepage": "https://github.com/boostorg/process",
"supports": "!emscripten", "supports": "!emscripten",

View File

@ -1,5 +1,10 @@
{ {
"versions": [ "versions": [
{
"git-tree": "e70acbb855538f95200b341b1cf26d9c1dc6e6cd",
"version": "1.77.0",
"port-version": 1
},
{ {
"git-tree": "6589096a03d4f8ea1590b1b9e1bdc41a47c2f907", "git-tree": "6589096a03d4f8ea1590b1b9e1bdc41a47c2f907",
"version": "1.77.0", "version": "1.77.0",

View File

@ -898,7 +898,7 @@
}, },
"boost-process": { "boost-process": {
"baseline": "1.77.0", "baseline": "1.77.0",
"port-version": 0 "port-version": 1
}, },
"boost-program-options": { "boost-program-options": {
"baseline": "1.77.0", "baseline": "1.77.0",