Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Jun 2023 10:59:02 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: 496e2a1089fd - main - x11/xdtm: Fix build with llvm16
Message-ID:  <202306241059.35OAx2D6099477@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=496e2a1089fd182c9d00ea5fb1d99f5c3cc2e029

commit 496e2a1089fd182c9d00ea5fb1d99f5c3cc2e029
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-06-24 10:50:36 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-06-24 10:58:48 +0000

    x11/xdtm: Fix build with llvm16
    
    Sponsored by:   The FreeBSD Foundation
---
 x11/xdtm/Makefile | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/x11/xdtm/Makefile b/x11/xdtm/Makefile
index 43a0fbc85ad7..2bfb3e801af0 100644
--- a/x11/xdtm/Makefile
+++ b/x11/xdtm/Makefile
@@ -17,10 +17,14 @@ MAKE_JOBS_UNSAFE=	yes
 
 WRKSRC=		${WRKDIR}/${PORTNAME}
 
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
 
 .if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
 CFLAGS+=	-Wno-error=int-conversion
 .endif
 
-.include <bsd.port.post.mk>
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
+CFLAGS+=	-Wno-error=incompatible-function-pointer-types
+.endif
+
+.include <bsd.port.mk>


home | help

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