git: 7d081ade39ea - main - audio/orbit-lv2: Fix build with llvm15

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Tue, 06 Jun 2023 20:45:49 UTC
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=7d081ade39eaceb566f0f8048867c8a45a08c3c0

commit 7d081ade39eaceb566f0f8048867c8a45a08c3c0
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-06-06 20:44:49 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-06-06 20:45:26 +0000

    audio/orbit-lv2: Fix build with llvm15
    
    Approved by:    portmgr (blanket)
---
 audio/orbit-lv2/Makefile | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/audio/orbit-lv2/Makefile b/audio/orbit-lv2/Makefile
index d90fbd9fc130..e2c82abb4c67 100644
--- a/audio/orbit-lv2/Makefile
+++ b/audio/orbit-lv2/Makefile
@@ -24,4 +24,10 @@ GL_ACCOUNT=	OpenMusicKontrollers
 GL_PROJECT=	${PORTNAME}.lv2
 GL_COMMIT=	f4aa620fc8d77418856581a6a955192af15b3860
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
+CFLAGS+=	-Wno-error=int-conversion
+.endif
+
+.include <bsd.port.post.mk>