git: 0b49beedf31a - main - accessibility/caribou: disable incompatible function pointer type error on -CURRENT with clang 16

From: Charlie Li <vishwin_at_FreeBSD.org>
Date: Sat, 24 Jun 2023 00:46:29 UTC
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>