File tree Expand file tree Collapse file tree 2 files changed +32
-0
lines changed Expand file tree Collapse file tree 2 files changed +32
-0
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,11 @@ $(package)_version=1.81.0
33$(package)_download_path =https://boostorg.jfrog.io/artifactory/main/release/$($(package ) _version) /source/
44$(package)_file_name =boost_$(subst .,_,$($(package ) _version) ) .tar.bz2
55$(package)_sha256_hash =71feeed900fbccca04a3b4f2f84a7c217186f28a940ed8b7ed4725986baf99fa
6+ $(package)_patches =process_macos_sdk.patch
7+
8+ define $(package)_preprocess_cmds
9+ patch -p1 < $($(package ) _patch_dir) /process_macos_sdk.patch
10+ endef
611
712define $(package)_stage_cmds
813 mkdir -p $($(package ) _staging_prefix_dir) /include && \
Original file line number Diff line number Diff line change 1+ Fix Boost Process compilation with macOS 14 SDK.
2+ Can be dropped with Boost 1.84.0.
3+ https://github.com/boostorg/process/pull/343.
4+ https://github.com/boostorg/process/issues/342.
5+
6+ diff --git a/boost/process/detail/posix/handles.hpp b/boost/process/detail/posix/handles.hpp
7+ index cd9e1ce5a..304e77b1c 100644
8+ --- a/boost/process/detail/posix/handles.hpp
9+ +++ b/boost/process/detail/posix/handles.hpp
10+ @@ -33,7 +33,7 @@ inline std::vector<native_handle_type> get_handles(std::error_code & ec)
11+ else
12+ ec.clear();
13+
14+ - auto my_fd = ::dirfd(dir.get());
15+ + auto my_fd = dirfd(dir.get());
16+
17+ struct ::dirent * ent_p;
18+
19+ @@ -117,7 +117,7 @@ struct limit_handles_ : handler_base_ext
20+ return;
21+ }
22+
23+ - auto my_fd = ::dirfd(dir);
24+ + auto my_fd = dirfd(dir);
25+ struct ::dirent * ent_p;
26+
27+ while ((ent_p = readdir(dir)) != nullptr)
You can’t perform that action at this time.
0 commit comments