Please find below an update for graphics/coin to version 4.0.9.
Changelog: https://github.com/coin3d/coin/releases/tag/v4.0.9
Notes about this update:
1. Enable tests: 100% tests passed, 0 tests failed out of 1
2. No shared library bump needed as there were no dynamic export
changes.
3. Build tested consumers graphics/py-pivy and cad/freecad (which I'll
bump after committing this update)
diff /usr/ports
path + /usr/ports
commit - 1fae17980f6fc2b5f7e2adfb1de6ab1fafd8bbde
blob - 9baeb1f76ef863a2a88f5e150adeb524e55db847
file + graphics/coin/Makefile
--- graphics/coin/Makefile
+++ graphics/coin/Makefile
@@ -1,6 +1,6 @@
COMMENT = 3D graphics library based on the Open Inventor API
-V = 4.0.8
+V = 4.0.9
DISTNAME = coin-${V}-src
PKGNAME = ${DISTNAME:S/-src$//}
@@ -22,12 +22,8 @@ MODULES = devel/cmake
BUILD_DEPENDS = devel/boost
-CONFIGURE_ARGS = -DCOIN_BUILD_TESTS=OFF
-
SUBST_VARS += V
WRKDIST = ${WRKDIR}/coin
-NO_TEST = yes
-
.include <bsd.port.mk>
commit - 1fae17980f6fc2b5f7e2adfb1de6ab1fafd8bbde
blob - 895fb8256c5e9af31892c2ba8e918b91779f1b58
file + graphics/coin/distinfo
--- graphics/coin/distinfo
+++ graphics/coin/distinfo
@@ -1,2 +1,2 @@
-SHA256 (coin-4.0.8-src.tar.gz) = r/bH7fJM+5Ne26RldOxfg7VDxH/3nkDCH7ktxwmw8sQ=
-SIZE (coin-4.0.8-src.tar.gz) = 13151232
+SHA256 (coin-4.0.9-src.tar.gz) = WZtWGi6l2s3Hf1RLEisKmFwcf/KaN6xJGYNs1PVa8oM=
+SIZE (coin-4.0.9-src.tar.gz) = 11853700
commit - 1fae17980f6fc2b5f7e2adfb1de6ab1fafd8bbde
blob - /dev/null
file + graphics/coin/patches/patch-testsuite_TestSuiteUtils_cpp (mode 644)
--- /dev/null
+++ graphics/coin/patches/patch-testsuite_TestSuiteUtils_cpp
@@ -0,0 +1,12 @@
+Index: testsuite/TestSuiteUtils.cpp
+--- testsuite/TestSuiteUtils.cpp.orig
++++ testsuite/TestSuiteUtils.cpp
+@@ -34,7 +34,7 @@
+ #include <cstdio>
+ #include <cstring>
+
+-#if defined (_POSIX_C_SOURCE) || defined (_POSIX_SOURCE) ||
defined(__APPLE__) || defined(__FreeBSD__)
++#if defined (_POSIX_C_SOURCE) || defined (_POSIX_SOURCE) ||
defined(__APPLE__) || defined(__FreeBSD__) || defined(__OpenBSD__)
+ #define USE_POSIX
+ #elif defined(_WIN32)
+ #define USE_WIN32