aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhoebe <20694052+PhoebeHui@users.noreply.github.com>2021-09-29 23:46:34 +0800
committerGitHub <noreply@github.com>2021-09-29 08:46:34 -0700
commitd65f732c974908d26555ebee959d4c046e44051c (patch)
tree8cbeb00fb86b46d8da7669ebf670c149dba75786
parentd9f00e925a08047c4331ff162fc62d79402905aa (diff)
downloadvcpkg-d65f732c974908d26555ebee959d4c046e44051c.tar.gz
vcpkg-d65f732c974908d26555ebee959d4c046e44051c.zip
[boost-process] Add missing include on algorithm (#20421)
-rw-r--r--ports/boost-process/fix_include.patch13
-rw-r--r--ports/boost-process/portfile.cmake2
-rw-r--r--ports/boost-process/vcpkg.json1
-rw-r--r--versions/b-/boost-process.json5
-rw-r--r--versions/baseline.json2
5 files changed, 22 insertions, 1 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",
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,6 +1,11 @@
{
"versions": [
{
+ "git-tree": "e70acbb855538f95200b341b1cf26d9c1dc6e6cd",
+ "version": "1.77.0",
+ "port-version": 1
+ },
+ {
"git-tree": "6589096a03d4f8ea1590b1b9e1bdc41a47c2f907",
"version": "1.77.0",
"port-version": 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",