summaryrefslogtreecommitdiff
path: root/irc
diff options
context:
space:
mode:
Diffstat (limited to 'irc')
-rw-r--r--irc/irssi-icb/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/irc/irssi-icb/Makefile b/irc/irssi-icb/Makefile
index c0f48739610e..eb12b2869554 100644
--- a/irc/irssi-icb/Makefile
+++ b/irc/irssi-icb/Makefile
@@ -29,4 +29,11 @@ INSTALL_TARGET= install-strip
PLIST_FILES= lib/irssi/modules/libfe_icb.so \
lib/irssi/modules/libicb_core.so
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+# Fixes build failure for Clang 16.0.6
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400092
+CFLAGS+= -Wno-error=incompatible-function-pointer-types
+.endif
+
+.include <bsd.port.post.mk>