commit:     1ee39fdbf2c51fede474fdb99207a444af5ac23d
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Dec  1 17:23:54 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Dec  1 17:23:54 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ee39fdb

dev-libs/boost: add missing include in 'process'

Closes: https://bugs.gentoo.org/827899
Signed-off-by: Sam James <sam <AT> gentoo.org>

 ...{boost-1.77.0-r3.ebuild => boost-1.77.0-r4.ebuild} |  1 +
 .../files/boost-1.77.0-fix-process-include.patch      | 19 +++++++++++++++++++
 2 files changed, 20 insertions(+)

diff --git a/dev-libs/boost/boost-1.77.0-r3.ebuild 
b/dev-libs/boost/boost-1.77.0-r4.ebuild
similarity index 99%
rename from dev-libs/boost/boost-1.77.0-r3.ebuild
rename to dev-libs/boost/boost-1.77.0-r4.ebuild
index 1a84b2c175eb..1ff2d52c6c8e 100644
--- a/dev-libs/boost/boost-1.77.0-r3.ebuild
+++ b/dev-libs/boost/boost-1.77.0-r4.ebuild
@@ -57,6 +57,7 @@ PATCHES=(
        "${WORKDIR}"/${PN}-1.77-math-deprecated-include.patch
        "${WORKDIR}"/${PN}-1.77-geometry.patch
        "${FILESDIR}"/${P}-python-3.10.patch
+       "${FILESDIR}"/${P}-fix-process-include.patch
 )
 
 python_bindings_needed() {

diff --git a/dev-libs/boost/files/boost-1.77.0-fix-process-include.patch 
b/dev-libs/boost/files/boost-1.77.0-fix-process-include.patch
new file mode 100644
index 000000000000..566603b360ac
--- /dev/null
+++ b/dev-libs/boost/files/boost-1.77.0-fix-process-include.patch
@@ -0,0 +1,19 @@
+https://github.com/boostorg/process/commit/e08374ed95ac33865bda40602c94909e7cd9607f.patch
+https://bugs.gentoo.org/827899
+
+From: Eddie-cz <[email protected]>
+Date: Mon, 2 Aug 2021 10:49:42 +0200
+Subject: [PATCH] Update wchar_t.hpp
+
+--- a/boost/process/detail/traits/wchar_t.hpp
++++ b/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
+

Reply via email to