git: c46c3e8b5547 - main - audio/surge-synthesizer-xt-lv2: Fix buils with llvm15
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 06 Jun 2023 17:48:42 UTC
The branch main has been updated by bofh:
URL: https://cgit.FreeBSD.org/ports/commit/?id=c46c3e8b55472f85a1bd6ba207abca3526a59103
commit c46c3e8b55472f85a1bd6ba207abca3526a59103
Author: Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-06-06 17:47:05 +0000
Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-06-06 17:47:39 +0000
audio/surge-synthesizer-xt-lv2: Fix buils with llvm15
Approved by: portmgr (blanket)
---
audio/surge-synthesizer-xt-lv2/Makefile | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/audio/surge-synthesizer-xt-lv2/Makefile b/audio/surge-synthesizer-xt-lv2/Makefile
index bebc48234e49..513a6a5204f2 100644
--- a/audio/surge-synthesizer-xt-lv2/Makefile
+++ b/audio/surge-synthesizer-xt-lv2/Makefile
@@ -71,4 +71,12 @@ PORTSCOUT= ignore:1 # conflicts with old-gen audio/surge-synthesizer-lv2
CMAKE_ARGS+= -DARM_NATIVE=native # based on https://github.com/surge-synthesizer/surge/tree/release/1.9.0#building-for-arm-platforms
.endif
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+post-patch:
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
+ @${REINPLACE_CMD} -e 's|move (group)|std::move (group)|g' \
+ ${WRKSRC}/libs/JUCE/modules/juce_audio_processors/utilities/juce_AudioProcessorValueTreeState.cpp
+.endif
+
+.include <bsd.port.post.mk>