git: 9cac4d56412a - main - audio/surge-synthesizer-xt-lv2: Make it build with base clang

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Tue, 13 Aug 2024 19:57:21 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=9cac4d56412abc90ebc6219c4cfc07567b4fe6f7

commit 9cac4d56412abc90ebc6219c4cfc07567b4fe6f7
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-08-13 19:56:53 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-08-13 19:57:19 +0000

    audio/surge-synthesizer-xt-lv2: Make it build with base clang
---
 audio/surge-synthesizer-xt-lv2/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/audio/surge-synthesizer-xt-lv2/Makefile b/audio/surge-synthesizer-xt-lv2/Makefile
index 02f591ce162b..e94eadcdf1c6 100644
--- a/audio/surge-synthesizer-xt-lv2/Makefile
+++ b/audio/surge-synthesizer-xt-lv2/Makefile
@@ -29,7 +29,7 @@ LIB_DEPENDS=	libfontconfig.so:x11-fonts/fontconfig \
 		libxcb-util.so:x11/xcb-util
 LIB_DEPENDS+=	libasound.so:audio/alsa-lib # pending https://github.com/surge-synthesizer/surge/issues/5997 resolution
 
-USES=		cmake compiler:c++17-lang gnome llvm:18 localbase:ldflags pkgconfig python:build shebangfix xorg # older llvm compiler fails because of -Werror -Wno-nan-infinity-disabled
+USES=		cmake compiler:c++17-lang gnome localbase:ldflags pkgconfig python:build shebangfix xorg # older llvm compiler fails because of -Werror -Wno-nan-infinity-disabled
 USE_GNOME=	cairo
 USE_XORG=	x11 xcb xcursor xinerama xrandr
 
@@ -43,7 +43,7 @@ CMAKE_ON=	SURGE_BUILD_LV2 \
 		SURGE_SKIP_VST3
 CMAKE_OFF=	JUCE_PLUGINHOST_VST3 JUCE_PLUGINHOST_VST
 
-CFLAGS+=	-Wno-nan-infinity-disabled # workaround for https://github.com/surge-synthesizer/surge/issues/7730
+CFLAGS+=	-Wno-nan-infinity-disabled -Wno-unknown-warning-option # workaround for https://github.com/surge-synthesizer/surge/issues/7730
 CXXFLAGS+=	-DPLUGIN_API="" -Dstricmp=strcasecmp -Dstrnicmp=strncasecmp -Dstrnicmp16=strncasecmp # for Juce
 
 .if !defined(WITH_DEBUG)