Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Jul 2023 09:42:31 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: 28223e1aff3e - main - x11-drivers/xf86-video-savage: Fix build with llvm16
Message-ID:  <202307250942.36P9gV35069799@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=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>



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