mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-04-09 12:50:18 +02:00
Merge bitcoin/bitcoin#29844: depends: remove no longer needed patch for Boost::Process
95c594f4e9ea3cb57aa03b75d4d70fe0e1742065 depends: remove no longer needed patch for Boost::Process (Sebastian Falbesoner) Pull request description: As Boost::Process has been replaced by cpp-subprocess (PR #28981), this patch touches an unused code part and is hence not needed anymore. ACKs for top commit: hebasto: ACK 95c594f4e9ea3cb57aa03b75d4d70fe0e1742065, I have reviewed the code and it looks OK. fanquake: ACK 95c594f4e9ea3cb57aa03b75d4d70fe0e1742065 Tree-SHA512: 0309b826f8c260e4180624f17302e51329fc4bd7a5431997d6d27d468dd5f7dbcd9db6a742efaba33ba30dbe361830eb1446fdbec927505ccf42412f9211934e
This commit is contained in:
commit
3f6a6da3b0
@ -3,11 +3,6 @@ $(package)_version=1.81.0
|
||||
$(package)_download_path=https://boostorg.jfrog.io/artifactory/main/release/$($(package)_version)/source/
|
||||
$(package)_file_name=boost_$(subst .,_,$($(package)_version)).tar.bz2
|
||||
$(package)_sha256_hash=71feeed900fbccca04a3b4f2f84a7c217186f28a940ed8b7ed4725986baf99fa
|
||||
$(package)_patches=process_macos_sdk.patch
|
||||
|
||||
define $(package)_preprocess_cmds
|
||||
patch -p1 < $($(package)_patch_dir)/process_macos_sdk.patch
|
||||
endef
|
||||
|
||||
define $(package)_stage_cmds
|
||||
mkdir -p $($(package)_staging_prefix_dir)/include && \
|
||||
|
@ -1,27 +0,0 @@
|
||||
Fix Boost Process compilation with macOS 14 SDK.
|
||||
Can be dropped with Boost 1.84.0.
|
||||
https://github.com/boostorg/process/pull/343.
|
||||
https://github.com/boostorg/process/issues/342.
|
||||
|
||||
diff --git a/boost/process/detail/posix/handles.hpp b/boost/process/detail/posix/handles.hpp
|
||||
index cd9e1ce5a..304e77b1c 100644
|
||||
--- a/boost/process/detail/posix/handles.hpp
|
||||
+++ b/boost/process/detail/posix/handles.hpp
|
||||
@@ -33,7 +33,7 @@ inline std::vector<native_handle_type> get_handles(std::error_code & ec)
|
||||
else
|
||||
ec.clear();
|
||||
|
||||
- auto my_fd = ::dirfd(dir.get());
|
||||
+ auto my_fd = dirfd(dir.get());
|
||||
|
||||
struct ::dirent * ent_p;
|
||||
|
||||
@@ -117,7 +117,7 @@ struct limit_handles_ : handler_base_ext
|
||||
return;
|
||||
}
|
||||
|
||||
- auto my_fd = ::dirfd(dir);
|
||||
+ auto my_fd = dirfd(dir);
|
||||
struct ::dirent * ent_p;
|
||||
|
||||
while ((ent_p = readdir(dir)) != nullptr)
|
Loading…
x
Reference in New Issue
Block a user