git: 89f1d74819e1 - main - x11-drivers/xf86-video-openchrome: Fix build with llvm15
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 09 Jun 2023 16:55:13 UTC
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=89f1d74819e1eb5fe6c6a2922f50f2063f991755 commit 89f1d74819e1eb5fe6c6a2922f50f2063f991755 Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2023-06-09 14:42:55 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2023-06-09 16:55:03 +0000 x11-drivers/xf86-video-openchrome: Fix build with llvm15 --- x11-drivers/xf86-video-openchrome/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/x11-drivers/xf86-video-openchrome/Makefile b/x11-drivers/xf86-video-openchrome/Makefile index b800df5f14c6..fc7542c750c7 100644 --- a/x11-drivers/xf86-video-openchrome/Makefile +++ b/x11-drivers/xf86-video-openchrome/Makefile @@ -31,4 +31,8 @@ PLIST_SUB+= XVMC="" PLIST_SUB+= XVMC="@comment " .endif +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 )) +CFLAGS+= -Wno-error=int-conversion +.endif + .include <bsd.port.mk>