summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-06-09 16:42:55 +0200
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-06-09 18:55:03 +0200
commit89f1d74819e1eb5fe6c6a2922f50f2063f991755 (patch)
tree29abed7985ebc9b76448610f7810168f23b37fec
parent4ba71b5555fa653188a32a9d2a3269640c73baab (diff)
downloadfreebsd-ports-89f1d74819e1eb5fe6c6a2922f50f2063f991755.zip
x11-drivers/xf86-video-openchrome: Fix build with llvm15
-rw-r--r--x11-drivers/xf86-video-openchrome/Makefile4
1 files changed, 4 insertions, 0 deletions
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>