summaryrefslogtreecommitdiff
path: root/math/oink
diff options
context:
space:
mode:
Diffstat (limited to 'math/oink')
-rw-r--r--math/oink/Makefile3
-rw-r--r--math/oink/files/patch-CMakeLists.txt10
-rw-r--r--math/oink/files/patch-test_test__solvers.cpp16
3 files changed, 25 insertions, 4 deletions
diff --git a/math/oink/Makefile b/math/oink/Makefile
index 7df176aa7382..e93ae7259c82 100644
--- a/math/oink/Makefile
+++ b/math/oink/Makefile
@@ -1,5 +1,6 @@
PORTNAME= oink
DISTVERSION= g20250105
+PORTREVISION= 1
CATEGORIES= math
MAINTAINER= yuri@FreeBSD.org
@@ -10,7 +11,7 @@ LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libboost_iostreams.so:devel/boost-libs \
- liblace.so:devel/lace
+ liblace.so:devel/lace14
USES= cmake:testing
USE_CXXSTD= c++14
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"