diff options
Diffstat (limited to 'math/oink/files')
-rw-r--r-- | math/oink/files/patch-CMakeLists.txt | 10 | ||||
-rw-r--r-- | math/oink/files/patch-test_test__solvers.cpp | 16 |
2 files changed, 23 insertions, 3 deletions
diff --git a/math/oink/files/patch-CMakeLists.txt b/math/oink/files/patch-CMakeLists.txt index d2712483dc57..095bae5ce5ba 100644 --- a/math/oink/files/patch-CMakeLists.txt +++ b/math/oink/files/patch-CMakeLists.txt @@ -1,7 +1,11 @@ ---- CMakeLists.txt.orig 2025-03-28 04:18:13 UTC +--- CMakeLists.txt.orig 2025-01-05 22:29:55 UTC +++ CMakeLists.txt -@@ -24,7 +24,7 @@ find_package(Boost REQUIRED COMPONENTS filesystem iost - find_package(Boost REQUIRED COMPONENTS filesystem iostreams regex system random CONFIG) +@@ -21,10 +21,10 @@ endif() + endif() + endif() + +-find_package(Boost REQUIRED COMPONENTS filesystem iostreams regex system random CONFIG) ++find_package(Boost REQUIRED COMPONENTS filesystem iostreams regex random CONFIG) # Main library target -add_library(oink STATIC) diff --git a/math/oink/files/patch-test_test__solvers.cpp b/math/oink/files/patch-test_test__solvers.cpp new file mode 100644 index 000000000000..b20666f94ee4 --- /dev/null +++ b/math/oink/files/patch-test_test__solvers.cpp @@ -0,0 +1,16 @@ +--- test/test_solvers.cpp.orig 2025-01-05 22:29:55 UTC ++++ test/test_solvers.cpp +@@ -29,7 +29,13 @@ + #include <boost/iostreams/filter/gzip.hpp> + #include <boost/filesystem.hpp> + #include <boost/random/random_device.hpp> ++#if BOOST_VERSION >= 108800 // v2 is now default ++#define BOOST_PROCESS_VERSION 1 ++#include <boost/process/v1/io.hpp> ++#include <boost/process/v1/system.hpp> ++#else + #include <boost/process.hpp> ++#endif + + #include "tools/cxxopts.hpp" + #include "oink/oink.hpp" |