Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Apr 2024 10:07:20 GMT
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: c76a1cb07bec - main - audio/noise-suppression-for-voice-lv2: workaround for clang-18 crash on 15
Message-ID:  <202404261007.43QA7Knq006477@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri:

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

commit c76a1cb07bec61ebda8c608af38fe449bfa188ee
Author:     Dimitry Andric <dim@FreeBSD.org>
AuthorDate: 2024-04-26 10:06:20 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-04-26 10:06:20 +0000

    audio/noise-suppression-for-voice-lv2: workaround for clang-18 crash on 15
    
    PR:             278333
---
 audio/noise-suppression-for-voice-lv2/Makefile | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/audio/noise-suppression-for-voice-lv2/Makefile b/audio/noise-suppression-for-voice-lv2/Makefile
index 333f3725274d..62f77a75cee0 100644
--- a/audio/noise-suppression-for-voice-lv2/Makefile
+++ b/audio/noise-suppression-for-voice-lv2/Makefile
@@ -39,6 +39,13 @@ LADSPA_CMAKE_BOOL=	BUILD_LADSPA_PLUGIN
 VST3_CMAKE_BOOL=	BUILD_VST3_PLUGIN
 VST3_BROKEN=		fails to build with juce-7.0.6, see https://github.com/werman/noise-suppression-for-voice/issues/177
 
+.include <bsd.port.pre.mk>
+
+.if ${COMPILER_TYPE} == clang && ${COMPILER_VERSION} >= 180
+# Work around https://github.com/llvm/llvm-project/issues/88592
+CXXFLAGS+=	-fclang-abi-compat=17
+.endif
+
 post-extract: # remove bundled JUCE
 	@${RM} -rf ${WRKSRC}/external/JUCE
 
@@ -60,4 +67,4 @@ post-install-VST3-on:
 
 # the LADSPA plugin can be used directly from PulseAudio's config file
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202404261007.43QA7Knq006477>