Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Jul 2023 17:51:20 GMT
From:      Santhosh Raju <fox@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 41b118089878 - main - irc/irssi-icb: Fix build failures for clang 16.0.6
Message-ID:  <202307151751.36FHpKek024018@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202307151751.36FHpKek024018>