git: c76a1cb07bec - main - audio/noise-suppression-for-voice-lv2: workaround for clang-18 crash on 15
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 26 Apr 2024 10:07:20 UTC
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>