git: 28223e1aff3e - main - x11-drivers/xf86-video-savage: Fix build with llvm16
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 25 Jul 2023 09:42:31 UTC
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=28223e1aff3e81e2420dd8cbe3cf0af81d08adab commit 28223e1aff3e81e2420dd8cbe3cf0af81d08adab Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2023-07-25 08:56:13 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2023-07-25 09:42:18 +0000 x11-drivers/xf86-video-savage: Fix build with llvm16 Sponsored by: The FreeBSD Foundation --- x11-drivers/xf86-video-savage/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) 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>