git: 9650dcc8132f - main - mail/cclient: Fix build with llvm16
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 26 Jun 2023 12:16:23 UTC
The branch main has been updated by bofh:
URL: https://cgit.FreeBSD.org/ports/commit/?id=9650dcc8132f0d8931d216d95462be854bf19b7b
commit 9650dcc8132f0d8931d216d95462be854bf19b7b
Author: Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-06-26 12:15:31 +0000
Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-06-26 12:16:02 +0000
mail/cclient: Fix build with llvm16
Sponsored by: The FreeBSD Foundation
---
mail/cclient/Makefile | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/mail/cclient/Makefile b/mail/cclient/Makefile
index 1998cad6b850..75d6991ac0ba 100644
--- a/mail/cclient/Makefile
+++ b/mail/cclient/Makefile
@@ -32,6 +32,10 @@ SSL_USES= ssl
.include <bsd.port.options.mk>
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
+CFLAGS+= -Wno-error=incompatible-function-pointer-types
+.endif
+
.if ${PORT_OPTIONS:MSSL}
PKGMESSAGE= pkg-message-ssl
.endif