git: 32534046a0a8 - main - net-mgmt/seafile-server: Fix build for FreeBSD 14

From: Richard Gallamore <ultima_at_FreeBSD.org>
Date: Sun, 28 Apr 2024 17:20:54 UTC
The branch main has been updated by ultima:

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

commit 32534046a0a87dcb7bee14b1d06cbec699c824ea
Author:     Richard Gallamore <ultima@FreeBSD.org>
AuthorDate: 2024-04-28 17:18:15 +0000
Commit:     Richard Gallamore <ultima@FreeBSD.org>
CommitDate: 2024-04-28 17:18:15 +0000

    net-mgmt/seafile-server: Fix build for FreeBSD 14
    
    Clang upgraded to 16.x on FreeBSD 14. There was a breaking change which
    upgraded incompatible-function-pointer-types from warning to error.
---
 net-mgmt/seafile-server/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/net-mgmt/seafile-server/Makefile b/net-mgmt/seafile-server/Makefile
index 399b49543a78..e39c2516711a 100644
--- a/net-mgmt/seafile-server/Makefile
+++ b/net-mgmt/seafile-server/Makefile
@@ -38,6 +38,7 @@ SHEBANG_FILES=	tools/seafile-admin
 GNU_CONFIGURE=	yes
 CONFIGURE_ENV=	SSL_CFLAGS="${OPENSSLINC}" SSL_LIBS="-L${OPENSSLLIB} -lssl \
 		-lcrypto" PKG_CONFIG_PATH="${WRKDIR}/pkgconfig"
+CFLAGS+=	-Wno-error=incompatible-function-pointer-types
 
 PATHFIX_MAKEFILEIN=	Makefile.am