git: d07bc1dcbdcc - main - audio/sherlock-lv2: Fix build with llvm15
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 03 Jun 2023 19:59:34 UTC
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=d07bc1dcbdcc3a59d614fcd50332efd0775d3eff commit d07bc1dcbdcc3a59d614fcd50332efd0775d3eff Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2023-06-03 19:25:35 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2023-06-03 19:59:24 +0000 audio/sherlock-lv2: Fix build with llvm15 Approved by: portmgr (blanket) --- audio/sherlock-lv2/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/audio/sherlock-lv2/Makefile b/audio/sherlock-lv2/Makefile index 7f2dc9a07ccd..5b83245e86e7 100644 --- a/audio/sherlock-lv2/Makefile +++ b/audio/sherlock-lv2/Makefile @@ -22,4 +22,10 @@ USES= compiler:c11 gl meson pkgconfig tar:xz xorg USE_XORG= x11 xext USE_GL= gl glew glu -.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>