diff options
author | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2023-07-25 10:56:13 +0200 |
---|---|---|
committer | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2023-07-25 11:42:18 +0200 |
commit | 28223e1aff3e81e2420dd8cbe3cf0af81d08adab (patch) | |
tree | 29d8eb03b1a789bf1a7223a60701245831421c45 | |
parent | 67718a2b74864982cc508b2d782095020cb7b3e5 (diff) | |
download | freebsd-ports-28223e1aff3e81e2420dd8cbe3cf0af81d08adab.zip |
x11-drivers/xf86-video-savage: Fix build with llvm16
Sponsored by: The FreeBSD Foundation
-rw-r--r-- | x11-drivers/xf86-video-savage/Makefile | 6 |
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> |