Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Jun 2023 18:09:11 GMT
From:      Muhammad Moinur Rahman <bofh@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: cde38a588af2 - main - irc/sic: Fix build with llvm15
Message-ID:  <202306051809.355I9BVN067499@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by bofh:

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

commit cde38a588af276aa588ba522d5b04eb6e6e887bc
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-06-05 15:45:04 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-06-05 18:09:00 +0000

    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(-)

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_



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