audio/surge-synthesizer-xt-lv2: Fix buils with llvm15

Approved by:	portmgr (blanket)
This commit is contained in:
Muhammad Moinur Rahman 2023-06-06 19:47:05 +02:00
parent 1a4fd51f91
commit c46c3e8b55

View file

@ -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>