git: 5c7599f2fa0a - 2024Q3 - irc/irssi-icb: Fix build failures for 13.3-RELEASE.

From: Santhosh Raju <fox_at_FreeBSD.org>
Date: Sun, 11 Aug 2024 05:25:28 UTC
The branch 2024Q3 has been updated by fox:

URL: https://cgit.FreeBSD.org/ports/commit/?id=5c7599f2fa0a38ab64b01c9bfe146d899d39fec0

commit 5c7599f2fa0a38ab64b01c9bfe146d899d39fec0
Author:     Santhosh Raju <fox@FreeBSD.org>
AuthorDate: 2024-08-04 17:22:44 +0000
Commit:     Santhosh Raju <fox@FreeBSD.org>
CommitDate: 2024-08-11 05:25:06 +0000

    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 <bsd.port.pre.mk>
 
 # 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