aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-07-18 15:35:49 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-07-18 15:50:39 +0000
commit6af8587c10db067064ce935f6e5989ab09d30fba (patch)
tree5fad32e36881e1c748f32395b0e97a2bba0ddd9c
parent759d0a2a24ed19275cfb242a2c7888f909ed3b44 (diff)
downloadports-6af8587c10db067064ce935f6e5989ab09d30fba.tar.gz
ports-6af8587c10db067064ce935f6e5989ab09d30fba.zip
net-im/telepathy-gabble: Fix build with llvm16
Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation
-rw-r--r--net-im/telepathy-gabble/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/net-im/telepathy-gabble/Makefile b/net-im/telepathy-gabble/Makefile
index d5fa6bb64ba2..3491490aa89b 100644
--- a/net-im/telepathy-gabble/Makefile
+++ b/net-im/telepathy-gabble/Makefile
@@ -44,6 +44,10 @@ PLIST_SUB= PVERSION=${PORTVERSION}
CONFIGURE_ENV+= OPENSSL_LIBS="-L/usr/lib -ssl -crypto" OPENSSL_CFLAGS="-I/usr/include"
.endif
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
+CFLAGS+= -Wno-error=incompatible-function-pointer-types
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's|-Werror||g' \
${WRKSRC}/lib/ext/wocky/configure