Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Jun 2023 17:14:22 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: b514c5003258 - main - audio/vm-lv2: Fix build with llvm15
Message-ID:  <202306101714.35AHEMSu082723@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=b514c500325827092a05c5ff96f086eeb811d1aa

commit b514c500325827092a05c5ff96f086eeb811d1aa
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-06-10 17:03:22 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-06-10 17:14:08 +0000

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

diff --git a/audio/vm-lv2/Makefile b/audio/vm-lv2/Makefile
index 8029472b72bb..4e27018796ab 100644
--- a/audio/vm-lv2/Makefile
+++ b/audio/vm-lv2/Makefile
@@ -21,7 +21,13 @@ LIB_DEPENDS=	liblilv-0.so:audio/lilv \
 		libsratom-0.so:audio/sratom
 
 USES=		compiler:c++11-lib gl meson pkgconfig localbase tar:xz xorg
-USE_XORG=	x11 xext
 USE_GL=		gl glew glu
+USE_XORG=	x11 xext
+
+.include <bsd.port.options.mk>
+
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
+CFLAGS+=	-Wno-error=int-conversion
+.endif
 
 .include <bsd.port.mk>



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