diff options
author | Max Brazhnikov <makc@FreeBSD.org> | 2025-06-05 12:54:59 +0000 |
---|---|---|
committer | Dima Panov <fluffy@FreeBSD.org> | 2025-06-10 00:33:03 +0000 |
commit | ef6872a77e27ade9f29392ce6c043d840000d536 (patch) | |
tree | aca6dd4ba9788da75b30face595e7f22dbf680a5 | |
parent | 38916b5163271563df7d52f8eb4ae3d81f1f9e71 (diff) |
databases/arrow: add upstream fix to support boost 1.88
See more: https://github.com/apache/arrow/issues/45803
Approved by: portmgr blanket (fix build)
-rw-r--r-- | databases/arrow/files/patch-src_arrow_testing_process.cc | 25 |
1 files changed, 23 insertions, 2 deletions
diff --git a/databases/arrow/files/patch-src_arrow_testing_process.cc b/databases/arrow/files/patch-src_arrow_testing_process.cc index a4887072c336..a9f3ff631317 100644 --- a/databases/arrow/files/patch-src_arrow_testing_process.cc +++ b/databases/arrow/files/patch-src_arrow_testing_process.cc @@ -1,8 +1,8 @@ - workaorund for https://github.com/apache/arrow/issues/45803 ---- src/arrow/testing/process.cc.orig 2025-03-15 05:43:36 UTC +--- src/arrow/testing/process.cc.orig 2025-02-11 22:18:18 UTC +++ src/arrow/testing/process.cc -@@ -33,6 +33,7 @@ +@@ -33,17 +33,24 @@ # include <boost/asio/io_context.hpp> # ifdef BOOST_PROCESS_USE_V2 @@ -10,3 +10,24 @@ # ifdef BOOST_PROCESS_NEED_SOURCE // Workaround for https://github.com/boostorg/process/issues/312 # define BOOST_PROCESS_V2_SEPARATE_COMPILATION + # ifdef __APPLE__ + # include <sys/sysctl.h> + # endif +-# include <boost/process/v2.hpp> +-# include <boost/process/v2/src.hpp> +-# else +-# include <boost/process/v2.hpp> + # endif ++# include <boost/process/v2/environment.hpp> ++# include <boost/process/v2/error.hpp> ++# include <boost/process/v2/execute.hpp> ++# include <boost/process/v2/exit_code.hpp> ++# include <boost/process/v2/pid.hpp> ++# include <boost/process/v2/popen.hpp> ++# include <boost/process/v2/process.hpp> ++# include <boost/process/v2/process_handle.hpp> ++# include <boost/process/v2/start_dir.hpp> ++# include <boost/process/v2/stdio.hpp> + # include <unordered_map> + # else + // We need BOOST_USE_WINDOWS_H definition with MinGW when we use |