From 335bd7f8bc415d6419763e17b013f94e5f0e5689 Mon Sep 17 00:00:00 2001 From: fanquake Date: Mon, 17 Aug 2020 20:28:02 +0800 Subject: build: use patch rather than sed in Boost package The depends comment is actually incorrect, and this can be dropped once we move to 1.71.0 or later. --- depends/patches/boost/unused_var_in_process.patch | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 depends/patches/boost/unused_var_in_process.patch (limited to 'depends/patches') diff --git a/depends/patches/boost/unused_var_in_process.patch b/depends/patches/boost/unused_var_in_process.patch new file mode 100644 index 0000000000..722f7bb5ea --- /dev/null +++ b/depends/patches/boost/unused_var_in_process.patch @@ -0,0 +1,22 @@ +commit dbd95cdaefdea95307d004f019a1c394cf9389f0 +Author: fanquake +Date: Mon Aug 17 20:15:17 2020 +0800 + + Remove unused variable in Boost Process + + This causes issues with our linters / CI. + + Can be removed once depends Boost is 1.71.0 or later. + +diff --git a/boost/process/detail/posix/wait_group.hpp b/boost/process/detail/posix/wait_group.hpp +index 9dc249803..2502d9772 100644 +--- a/boost/process/detail/posix/wait_group.hpp ++++ b/boost/process/detail/posix/wait_group.hpp +@@ -137,7 +137,6 @@ inline bool wait_until( + + do + { +- int ret_sig = 0; + int status; + if ((::waitpid(timeout_pid, &status, WNOHANG) != 0) + && (WIFEXITED(status) || WIFSIGNALED(status))) -- cgit v1.2.3