summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2024-04-26 03:06:20 -0700
committerYuri Victorovich <yuri@FreeBSD.org>2024-04-26 03:06:20 -0700
commitc76a1cb07bec61ebda8c608af38fe449bfa188ee (patch)
treeaedbcd5b9e222c5b7b73cdd58b63e6f716e33501
parentgraphics/glaxnimate: update 0.5.3 → 0.5.4 (diff)
audio/noise-suppression-for-voice-lv2: workaround for clang-18 crash on 15
PR: 278333
-rw-r--r--audio/noise-suppression-for-voice-lv2/Makefile9
1 files changed, 8 insertions, 1 deletions
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>