Skip to content

Commit

Permalink
[boost-process] Add missing include on algorithm (#20421)
Browse files Browse the repository at this point in the history
  • Loading branch information
PhoebeHui committed Sep 29, 2021
1 parent d9f00e9 commit d65f732
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 1 deletion.
13 changes: 13 additions & 0 deletions ports/boost-process/fix_include.patch
Original file line number Diff line number Diff line change
@@ -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
2 changes: 2 additions & 0 deletions ports/boost-process/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
1 change: 1 addition & 0 deletions ports/boost-process/vcpkg.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
5 changes: 5 additions & 0 deletions versions/b-/boost-process.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "e70acbb855538f95200b341b1cf26d9c1dc6e6cd",
"version": "1.77.0",
"port-version": 1
},
{
"git-tree": "6589096a03d4f8ea1590b1b9e1bdc41a47c2f907",
"version": "1.77.0",
Expand Down
2 changes: 1 addition & 1 deletion versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -898,7 +898,7 @@
},
"boost-process": {
"baseline": "1.77.0",
"port-version": 0
"port-version": 1
},
"boost-program-options": {
"baseline": "1.77.0",
Expand Down

0 comments on commit d65f732

Please sign in to comment.