git: 9a4215ea0261 - main - audio/surge-synthesizer-xt-lv2: Fix build on 15

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Tue, 30 Jul 2024 03:13:13 UTC
The branch main has been updated by yuri:

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

commit 9a4215ea02613a610926c05403f4846ad40df6a0
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-07-30 03:12:36 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-07-30 03:13:10 +0000

    audio/surge-synthesizer-xt-lv2: Fix build on 15
    
    Reported by:    fallout
---
 audio/surge-synthesizer-xt-lv2/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/audio/surge-synthesizer-xt-lv2/Makefile b/audio/surge-synthesizer-xt-lv2/Makefile
index fbd5d52ec46d..782669cc5f3f 100644
--- a/audio/surge-synthesizer-xt-lv2/Makefile
+++ b/audio/surge-synthesizer-xt-lv2/Makefile
@@ -48,6 +48,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
 CXXFLAGS+=	-DPLUGIN_API="" -Dstricmp=strcasecmp -Dstrnicmp=strncasecmp -Dstrnicmp16=strncasecmp # for Juce
 
 .if !defined(WITH_DEBUG)