Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Jun 2023 04:38:03 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: fdf1bcf97ebb - main - x11-toolkits/granite: Fix build with llvm16
Message-ID:  <202306240438.35O4c3gO073614@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=fdf1bcf97ebb17c62774ae0255cbcf59ba704bac

commit fdf1bcf97ebb17c62774ae0255cbcf59ba704bac
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-06-24 01:01:55 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-06-24 04:37:51 +0000

    x11-toolkits/granite: Fix build with llvm16
    
    Approved by:    portmgr (blanket)
    Sponsored by:   The FreeBSD Foundation
---
 x11-toolkits/granite/Makefile | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/x11-toolkits/granite/Makefile b/x11-toolkits/granite/Makefile
index c506c4a75d63..0a07da13ee30 100644
--- a/x11-toolkits/granite/Makefile
+++ b/x11-toolkits/granite/Makefile
@@ -24,4 +24,10 @@ BINARY_ALIAS=	python3=${PYTHON_CMD}
 PORTSCOUT=	limit:^6
 PLIST_SUB=	DISTVERSION=${DISTVERSION}
 
+.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?202306240438.35O4c3gO073614>