From c46c3e8b55472f85a1bd6ba207abca3526a59103 Mon Sep 17 00:00:00 2001 From: Muhammad Moinur Rahman Date: Tue, 6 Jun 2023 19:47:05 +0200 Subject: [PATCH] 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 +.include + +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