From a9345462a3fd0d2476ffd79ece7d69244cb1703a Mon Sep 17 00:00:00 2001 From: Ryan Date: Thu, 1 Sep 2022 18:01:14 +0100 Subject: [PATCH] Create unused_var_in_process.patch --- .../patches/boost/unused_var_in_process.patch | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 depends/patches/boost/unused_var_in_process.patch 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 0000000000000..722f7bb5ea470 --- /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)))