git: f61962bba8c4 - main - security/seahorse: Fix build with llvm16

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sun, 25 Jun 2023 21:43:10 UTC
The branch main has been updated by bofh:

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

commit f61962bba8c42574e8db88844e352052261ee254
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-06-25 20:36:04 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-06-25 21:42:44 +0000

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

diff --git a/security/seahorse/Makefile b/security/seahorse/Makefile
index a067618491bb..9e9688a4b509 100644
--- a/security/seahorse/Makefile
+++ b/security/seahorse/Makefile
@@ -54,4 +54,10 @@ AVAHI_MESON_TRUE=	key-sharing
 LDAP_USES=		ldap
 LDAP_MESON_TRUE=	ldap-support
 
+.include <bsd.port.options.mk>
+
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
+CFLAGS+=	-Wno-error=incompatible-function-pointer-types
+.endif
+
 .include <bsd.port.mk>