git: 8a069382b365 - main - net-im/libpurple: Fix build with llvm16
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 24 Jun 2023 12:04:10 UTC
The branch main has been updated by bofh:
URL: https://cgit.FreeBSD.org/ports/commit/?id=8a069382b365114fed36d1ddc932677894889e56
commit 8a069382b365114fed36d1ddc932677894889e56
Author: Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-06-24 12:03:20 +0000
Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-06-24 12:03:43 +0000
net-im/libpurple: Fix build with llvm16
Approved by: portmgr (blanket)
Sponsored by: The FreeBSD Foundation
---
net-im/libpurple/Makefile | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/net-im/libpurple/Makefile b/net-im/libpurple/Makefile
index 461ef4d28dbf..c5c87d0bb9a0 100644
--- a/net-im/libpurple/Makefile
+++ b/net-im/libpurple/Makefile
@@ -88,6 +88,10 @@ CONFIGURE_ARGS+=--disable-doxygen
.include <bsd.port.options.mk>
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
+CFLAGS+= -Wno-error=incompatible-function-pointer-types
+.endif
+
.if ${PORT_OPTIONS:MTCLTK}
USES+= tk
CFLAGS+= -I${TK_INCLUDEDIR} -I${TCL_INCLUDEDIR}