aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-06-06 20:44:49 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-06-06 20:45:26 +0000
commit7d081ade39eaceb566f0f8048867c8a45a08c3c0 (patch)
tree3495be73f311af7e42fcf276abefaec7ac3c4e41
parentf6f2fb03b500da0aff51b7c204f5d2fe4d65d982 (diff)
downloadports-7d081ade39eaceb566f0f8048867c8a45a08c3c0.tar.gz
ports-7d081ade39eaceb566f0f8048867c8a45a08c3c0.zip
audio/orbit-lv2: Fix build with llvm15
Approved by: portmgr (blanket)
-rw-r--r--audio/orbit-lv2/Makefile8
1 files changed, 7 insertions, 1 deletions
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>