From cde38a588af276aa588ba522d5b04eb6e6e887bc Mon Sep 17 00:00:00 2001 From: Muhammad Moinur Rahman Date: Mon, 5 Jun 2023 17:45:04 +0200 Subject: irc/sic: Fix build with llvm15 - Refresh patches - Adopt port --- irc/sic/Makefile | 10 ++++++++-- irc/sic/files/patch-Makefile.in | 4 ++-- irc/sic/files/patch-utils.c | 6 +++--- irc/sic/files/patch-utils.h | 4 ++-- 4 files changed, 15 insertions(+), 9 deletions(-) (limited to 'irc') diff --git a/irc/sic/Makefile b/irc/sic/Makefile index c4270ed4456b..6674cf126d60 100644 --- a/irc/sic/Makefile +++ b/irc/sic/Makefile @@ -3,7 +3,7 @@ PORTVERSION= 0.23a CATEGORIES= irc MASTER_SITES= ftp://ftp.funet.fi/pub/unix/irc/sic/ -MAINTAINER= ports@FreeBSD.org +MAINTAINER= bofh@FreeBSD.org COMMENT= Another 'Internet Relay Chat' Client LICENSE= GPLv2 @@ -12,7 +12,13 @@ USES= ncurses tar:tgz GNU_CONFIGURE= yes PLIST_SUB= VERSION="${PORTVERSION}" +.include + +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 )) +CFLAGS+= -Wno-error=int-conversion +.endif + post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}-${PORTVERSION} -.include +.include diff --git a/irc/sic/files/patch-Makefile.in b/irc/sic/files/patch-Makefile.in index 6f8bd3202cfd..544f6a5b6d92 100644 --- a/irc/sic/files/patch-Makefile.in +++ b/irc/sic/files/patch-Makefile.in @@ -1,5 +1,5 @@ ---- Makefile.in.orig 2014-08-15 14:55:42.253003285 +0800 -+++ Makefile.in 2014-08-15 14:56:37.571000087 +0800 +--- Makefile.in.orig 2000-09-03 19:08:58 UTC ++++ Makefile.in @@ -33,17 +33,14 @@ sic : $(OBJS) $(CC) $(CFLAGS) $(OBJS) $(LDFLAGS) $(LIBS) -o sic diff --git a/irc/sic/files/patch-utils.c b/irc/sic/files/patch-utils.c index 5985ab50b7e6..35d8d100377c 100644 --- a/irc/sic/files/patch-utils.c +++ b/irc/sic/files/patch-utils.c @@ -1,6 +1,6 @@ ---- utils.c.orig Sun Mar 31 19:32:45 2002 -+++ utils.c Sun Mar 31 19:32:55 2002 -@@ -12,25 +12,6 @@ +--- utils.c.orig 2000-07-31 22:37:23 UTC ++++ utils.c +@@ -12,25 +12,6 @@ static char rcsid[] = "@(#)$Id: utils.c,v 1.14 2000/07 #include "os.h" diff --git a/irc/sic/files/patch-utils.h b/irc/sic/files/patch-utils.h index c2d9922594aa..7ad339e6347b 100644 --- a/irc/sic/files/patch-utils.h +++ b/irc/sic/files/patch-utils.h @@ -1,5 +1,5 @@ ---- utils.h.orig Sun Mar 31 19:33:07 2002 -+++ utils.h Sun Mar 31 19:33:11 2002 +--- utils.h.orig 2000-07-31 22:37:23 UTC ++++ utils.h @@ -7,7 +7,6 @@ #ifndef _utils_h_ #define _utils_h_ -- cgit v1.2.3