diff options
author | Edward.Sanford.Sutton, III <mirror176@hotmail.com> | 2025-06-15 00:51:52 -0700 |
---|---|---|
committer | Yuri Victorovich <yuri@FreeBSD.org> | 2025-06-15 01:58:06 -0700 |
commit | fef3d8c3a57bd0f181964cd0a434fe6dfa4f7f42 (patch) | |
tree | 08bef28a556592180f0ed23bf65b4af8c0efa857 /math/oink/files/patch-test_test__solvers.cpp | |
parent | www/ikiwiki: add missing deps & fix tests (diff) |
math/oink: fix build with boost 1.88.0
PR: 287318
Diffstat (limited to 'math/oink/files/patch-test_test__solvers.cpp')
-rw-r--r-- | math/oink/files/patch-test_test__solvers.cpp | 16 |
1 files changed, 16 insertions, 0 deletions
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" |