Skip to content

Commit 8314c23

Browse files
Sjorsfanquake
andcommitted
[depends] boost: patch unused variable in boost_process
Co-Authored-By: fanquake <[email protected]>
1 parent a63a26f commit 8314c23

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

depends/packages/boost.mk

+2
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,9 @@ $(package)_cxxflags_linux=-fPIC
3131
$(package)_cxxflags_android=-fPIC
3232
endef
3333

34+
# Fix unused variable in boost_process, can be removed after upgrading to 1.72
3435
define $(package)_preprocess_cmds
36+
sed -i.old "s/int ret_sig = 0;//" boost/process/detail/posix/wait_group.hpp && \
3537
echo "using $($(package)_toolset_$(host_os)) : : $($(package)_cxx) : <cxxflags>\"$($(package)_cxxflags) $($(package)_cppflags)\" <linkflags>\"$($(package)_ldflags)\" <archiver>\"$($(package)_archiver_$(host_os))\" <striper>\"$(host_STRIP)\" <ranlib>\"$(host_RANLIB)\" <rc>\"$(host_WINDRES)\" : ;" > user-config.jam
3638
endef
3739

0 commit comments

Comments
 (0)