git: 68eb816d1485 - main - audio/cardinal: Minor changes

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Sun, 14 Apr 2024 23:31:57 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=68eb816d148540ce28e2b7863cdd6ef715b31da4

commit 68eb816d148540ce28e2b7863cdd6ef715b31da4
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-04-14 23:31:32 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-04-14 23:31:32 +0000

    audio/cardinal: Minor changes
---
 audio/cardinal/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/audio/cardinal/Makefile b/audio/cardinal/Makefile
index de68b3483fdc..dc3b5b6ba9ef 100644
--- a/audio/cardinal/Makefile
+++ b/audio/cardinal/Makefile
@@ -23,7 +23,7 @@ LIB_DEPENDS=	libasound.so:audio/alsa-lib \
 		libsndfile.so:audio/libsndfile \
 		libspeexdsp.so:audio/speexdsp
 
-USES=		compiler:c++11-lang gl gmake libarchive localbase:ldflags pkgconfig python sdl shebangfix tar:xz xorg
+USES=		compiler:c++17-lang gl gmake libarchive localbase:ldflags pkgconfig python sdl shebangfix tar:xz xorg
 USE_XORG=	x11 xcursor xext xrandr
 USE_GL=		gl
 USE_SDL=	sdl2
@@ -56,6 +56,7 @@ LTO_BROKEN=		Fails to build with LTO because it is gcc-centered
 
 .include <bsd.port.options.mk>
 
+# workaround for ld: error: undefined symbol: roundevenf
 .if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
 USES+=	llvm:max=15
 .endif