aboutsummaryrefslogtreecommitdiff
path: root/x11-drivers
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-07-25 08:56:13 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-07-25 09:42:18 +0000
commit28223e1aff3e81e2420dd8cbe3cf0af81d08adab (patch)
tree29d8eb03b1a789bf1a7223a60701245831421c45 /x11-drivers
parent67718a2b74864982cc508b2d782095020cb7b3e5 (diff)
downloadports-28223e1aff3e81e2420dd8cbe3cf0af81d08adab.tar.gz
ports-28223e1aff3e81e2420dd8cbe3cf0af81d08adab.zip
x11-drivers/xf86-video-savage: Fix build with llvm16
Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'x11-drivers')
-rw-r--r--x11-drivers/xf86-video-savage/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/x11-drivers/xf86-video-savage/Makefile b/x11-drivers/xf86-video-savage/Makefile
index 2a7146ec9863..fe577e67a954 100644
--- a/x11-drivers/xf86-video-savage/Makefile
+++ b/x11-drivers/xf86-video-savage/Makefile
@@ -16,4 +16,10 @@ LICENSE_FILE= ${WRKSRC}/COPYING
USES= gl xorg-cat:driver
USE_GL= gl
+.include <bsd.port.options.mk>
+
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
+CFLAGS+= -Wno-error=incompatible-function-pointer-types
+.endif
+
.include <bsd.port.mk>