From 5c7599f2fa0a38ab64b01c9bfe146d899d39fec0 Mon Sep 17 00:00:00 2001 From: Santhosh Raju Date: Sun, 4 Aug 2024 19:22:44 +0200 Subject: [PATCH] irc/irssi-icb: Fix build failures for 13.3-RELEASE. Clang 16.0.6 warning mitigations were not applied to 13.3. (cherry picked from commit 6af58f5ee0afa4abc971f12dbc262213a040ca14) --- irc/irssi-icb/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/irc/irssi-icb/Makefile b/irc/irssi-icb/Makefile index eb12b2869554..9d5cb232809c 100644 --- a/irc/irssi-icb/Makefile +++ b/irc/irssi-icb/Makefile @@ -32,7 +32,7 @@ PLIST_FILES= lib/irssi/modules/libfe_icb.so \ .include # Fixes build failure for Clang 16.0.6 -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400092 +.if ${OPSYS} == FreeBSD && (${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif