diff options
author | Santhosh Raju <fox@FreeBSD.org> | 2023-07-15 19:32:41 +0200 |
---|---|---|
committer | Santhosh Raju <fox@FreeBSD.org> | 2023-07-15 19:50:32 +0200 |
commit | 41b11808987889d30a135d3bf73e6fb71940c7b7 (patch) | |
tree | 1d7c98c75844a663e212fca6900b5babbceb0935 /irc | |
parent | b0741cfbe38b7fd15168a9035cba2afeb23dce95 (diff) | |
download | freebsd-ports-41b11808987889d30a135d3bf73e6fb71940c7b7.zip |
irc/irssi-icb: Fix build failures for clang 16.0.6
Change applies to 14.0-CURRENT (1400092 and above).
Diffstat (limited to 'irc')
-rw-r--r-- | irc/irssi-icb/Makefile | 9 |
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> |