git: 65e1583f873b - main - audio/csound: Fix build with math/gmm++ >= 5.4.3
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 03 Aug 2025 05:36:33 UTC
The branch main has been updated by jhale:
URL: https://cgit.FreeBSD.org/ports/commit/?id=65e1583f873bdeed1c9f5449ba3ef547187e0431
commit 65e1583f873bdeed1c9f5449ba3ef547187e0431
Author: Jason E. Hale <jhale@FreeBSD.org>
AuthorDate: 2025-08-03 05:01:29 +0000
Commit: Jason E. Hale <jhale@FreeBSD.org>
CommitDate: 2025-08-03 05:01:29 +0000
audio/csound: Fix build with math/gmm++ >= 5.4.3
gmm::lapack_ipvt is a typedef to std::vector since 5.4.3 [1], so using
the .get() accessor no longer works. Removing the added CXXFLAGS fixes
the issue.
/wrkdirs/usr/ports/audio/csound/work/csound-6.15.0/Opcodes/linear_algebra.cpp:3507:30:
error: no member named 'get' in 'std::vector<unsigned long>'
3507 | pivot->vr[i] = pivot__.get(i);
[1] https://github.com/getfem/getfem/commit/cbe1442c4bb2b4fea804d47054ab55dc0bfe238c
Approved by: portmgr (blanket)
---
audio/csound/Makefile | 1 -
1 file changed, 1 deletion(-)
diff --git a/audio/csound/Makefile b/audio/csound/Makefile
index 6ef2bc24cb06..5bc02b2d5e4f 100644
--- a/audio/csound/Makefile
+++ b/audio/csound/Makefile
@@ -99,7 +99,6 @@ JACK_CMAKE_BOOL= BUILD_JACK_OPCODES USE_JACK
LINALG_DESC= Build the linear algebra opcodes
LINALG_CMAKE_BOOL= BUILD_LINEAR_ALGEBRA_OPCODES
-LINALG_CXXFLAGS= -DGMM_VERSION=x # workaround based on https://github.com/csound/csound/issues/1069#issuecomment-439648756
LUA_DESC= Build Lua Interface and module
LUA_LIB_DEPENDS= libluajit-5.1.so:lang/luajit