aboutsummaryrefslogtreecommitdiff
path: root/depends/patches
diff options
context:
space:
mode:
authorfanquake <fanquake@gmail.com>2020-08-17 20:28:02 +0800
committerfanquake <fanquake@gmail.com>2020-08-25 13:19:56 +0800
commit335bd7f8bc415d6419763e17b013f94e5f0e5689 (patch)
tree05bb388c27660ffef44bdc5d2a6d6332da7f5362 /depends/patches
parentf36140d00c937b5059cd952d759a77e25330388a (diff)
downloadbitcoin-335bd7f8bc415d6419763e17b013f94e5f0e5689.tar.xz
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.
Diffstat (limited to 'depends/patches')
-rw-r--r--depends/patches/boost/unused_var_in_process.patch22
1 files changed, 22 insertions, 0 deletions
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 <fanquake@gmail.com>
+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)))