Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Jun 2023 00:46:29 GMT
From:      Charlie Li <vishwin@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 0b49beedf31a - main - accessibility/caribou: disable incompatible function pointer type error on -CURRENT with clang 16
Message-ID:  <202306240046.35O0kTsi090928@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by vishwin:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0b49beedf31a2ccb09111d9277f58f799f99b2ce

commit 0b49beedf31a2ccb09111d9277f58f799f99b2ce
Author:     Charlie Li <vishwin@FreeBSD.org>
AuthorDate: 2023-06-24 00:45:37 +0000
Commit:     Charlie Li <vishwin@FreeBSD.org>
CommitDate: 2023-06-24 00:45:37 +0000

    accessibility/caribou: disable incompatible function pointer type error on -CURRENT with clang 16
---
 accessibility/caribou/Makefile | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/accessibility/caribou/Makefile b/accessibility/caribou/Makefile
index 13a4cf810e6a..774ed1d03afc 100644
--- a/accessibility/caribou/Makefile
+++ b/accessibility/caribou/Makefile
@@ -36,4 +36,10 @@ CONFIGURE_ARGS=	--enable-gtk2-module=no
 GLIB_SCHEMAS=	org.gnome.caribou.gschema.xml \
 		org.gnome.antler.gschema.xml
 
+.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?202306240046.35O0kTsi090928>