git: 41b118089878 - main - irc/irssi-icb: Fix build failures for clang 16.0.6
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 15 Jul 2023 17:51:20 UTC
The branch main has been updated by fox: URL: https://cgit.FreeBSD.org/ports/commit/?id=41b11808987889d30a135d3bf73e6fb71940c7b7 commit 41b11808987889d30a135d3bf73e6fb71940c7b7 Author: Santhosh Raju <fox@FreeBSD.org> AuthorDate: 2023-07-15 17:32:41 +0000 Commit: Santhosh Raju <fox@FreeBSD.org> CommitDate: 2023-07-15 17:50:32 +0000 irc/irssi-icb: Fix build failures for clang 16.0.6 Change applies to 14.0-CURRENT (1400092 and above). --- irc/irssi-icb/Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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>