Skip to content

Commit

Permalink
irc/sic: Fix build with llvm15
Browse files Browse the repository at this point in the history
- Refresh patches
- Adopt port
  • Loading branch information
5u623l20 committed Jun 5, 2023
1 parent f3d6ebd commit cde38a5
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 9 deletions.
10 changes: 8 additions & 2 deletions irc/sic/Makefile
Expand Up @@ -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
Expand All @@ -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>
4 changes: 2 additions & 2 deletions 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

Expand Down
6 changes: 3 additions & 3 deletions 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"

Expand Down
4 changes: 2 additions & 2 deletions 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_
Expand Down

0 comments on commit cde38a5

Please sign in to comment.