git: 9af78927246c - main - x11/budgie-desktop: Fix build with llvm16

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Mon, 26 Jun 2023 00:10:01 UTC
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=9af78927246c6ff19c28bddf40867b5caae45ab8

commit 9af78927246c6ff19c28bddf40867b5caae45ab8
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-06-25 22:43:50 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-06-26 00:09:44 +0000

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

diff --git a/x11/budgie-desktop/Makefile b/x11/budgie-desktop/Makefile
index 66a7ba3fd1e0..411ea080d915 100644
--- a/x11/budgie-desktop/Makefile
+++ b/x11/budgie-desktop/Makefile
@@ -70,6 +70,12 @@ GLIB_SCHEMAS=	20_buddiesofbudgie.budgie-desktop.notifications.gschema.override \
 		org.buddiesofbudgie.budgie-desktop.screenshot.gschema.xml \
 		25_org.buddiesofbudgie-default-settings.gschema.override
 
+.include <bsd.port.options.mk>
+
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
+CFLAGS+=	-Wno-error=incompatible-function-pointer-types
+.endif
+
 post-extract:
 	${CP} ${FILESDIR}/25_org.buddiesofbudgie-default-settings.gschema.override \
 		${WRKSRC}/data