Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Jun 2023 16:55:13 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: 89f1d74819e1 - main - x11-drivers/xf86-video-openchrome: Fix build with llvm15
Message-ID:  <202306091655.359GtDeL074216@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=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>



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