]> code.ossystems Code Review - openembedded-core.git/commit
boost: backport fix to make async_pipes work with asio
authorViktor Rosendahl <Viktor.Rosendahl@bmw.de>
Thu, 30 Jul 2020 10:00:21 +0000 (12:00 +0200)
committerSteve Sakoman <steve@sakoman.com>
Wed, 5 Aug 2020 14:27:13 +0000 (04:27 -1000)
commitf3f6cc45b0b95cce337947df8dfaa9402251541c
tree95e2f585f3f294e86abb1e673ad09b77bfe36d27
parent4cbfaae7f6ecdcbb67675da6cbdcf63aed0aaf61
boost: backport fix to make async_pipes work with asio

async_pipe is missing the executor_type type, which is expected by
asio in /usr/include/boost/asio/impl/read.hpp. Without this, it's
not possible to even compile code that uses constructs such as:

boost::asio::io_service foo;
boost::process::async_pipe foopipe{ boost::process::async_pipe(foo) };

This is only relevant for Dunfell because master has already moved to
boost-1.73.0 in which this bug has been fixed. The bug is also not
present in Zeus, which uses boost-1.71.0.

Signed-off-by: Viktor Rosendahl <Viktor.Rosendahl@bmw.de>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/recipes-support/boost/boost/0001-added-typedef-executor_type.patch [new file with mode: 0644]
meta/recipes-support/boost/boost_1.72.0.bb