summaryrefslogtreecommitdiff
path: root/irc
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-06-05 17:45:04 +0200
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-06-05 20:09:00 +0200
commitcde38a588af276aa588ba522d5b04eb6e6e887bc (patch)
treec95b17caa3f6760ae589cf16fa03904f922e8d00 /irc
parentf3d6ebd7280f0069a8da7fac2d729537fdce5473 (diff)
downloadfreebsd-ports-cde38a588af276aa588ba522d5b04eb6e6e887bc.zip
irc/sic: Fix build with llvm15
- Refresh patches - Adopt port
Diffstat (limited to 'irc')
-rw-r--r--irc/sic/Makefile10
-rw-r--r--irc/sic/files/patch-Makefile.in4
-rw-r--r--irc/sic/files/patch-utils.c6
-rw-r--r--irc/sic/files/patch-utils.h4
4 files changed, 15 insertions, 9 deletions
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 <bsd.port.pre.mk>
+
+.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 <bsd.port.mk>
+.include <bsd.port.post.mk>
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_