Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Jun 2023 17:48:42 GMT
From:      Muhammad Moinur Rahman <bofh@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: c46c3e8b5547 - main - audio/surge-synthesizer-xt-lv2: Fix buils with llvm15
Message-ID:  <202306061748.356Hmg7t029870@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202306061748.356Hmg7t029870>