Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 May 2009 03:00:41 +0900
From:      KATO Tsuguru <tkato432@yahoo.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/134289: Update port: irc/xaric to 0.13.5
Message-ID:  <20090507030041.f049224b.tkato432@yahoo.com>
Resent-Message-ID: <200905061810.n46IA5YV023270@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         134289
>Category:       ports
>Synopsis:       Update port: irc/xaric to 0.13.5
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed May 06 18:10:05 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 7.1-RELEASE-p5 i386
>Organization:
>Environment:
>Description:
- Update to version 0.13.5

Remove file:
files/patch-iflist.c
files/patch-misc.c
files/patch-numbers.c
files/patch-xscandir.c
pkg-plist

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/irc/xaric/Makefile irc/xaric/Makefile
--- /usr/ports/irc/xaric/Makefile	2008-08-21 18:53:18.000000000 +0900
+++ irc/xaric/Makefile	2009-05-05 02:06:58.000000000 +0900
@@ -6,20 +6,27 @@
 #
 
 PORTNAME=	xaric
-PORTVERSION=	0.13.2
+PORTVERSION=	0.13.5
 CATEGORIES=	irc
-MASTER_SITES=	http://rf.cx/software/xaric/releases/
+MASTER_SITES=	http://xaric.org/software/xaric/releases/
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	IRC Client similer to BitchX or ircII
 
+USE_GNOME=	gnomehack
 USE_GMAKE=	yes
 GNU_CONFIGURE=	yes
 
 MAN1=		xaric.1
+PLIST_FILES=	bin/xaric \
+		%%DATADIR%%/help/copying \
+		%%DATADIR%%/help/help \
+		%%DATADIR%%/help/warranty
+PLIST_DIRS=	%%DATADIR%%/help \
+		%%DATADIR%%
 
 post-patch:
-	${REINPLACE_CMD} -e "s,-Werror,," ${WRKSRC}/Makefile.in
+	@${REINPLACE_CMD} -e 's|-ggdb3||g' ${WRKSRC}/Makefile.in
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/xaric ${PREFIX}/bin
diff -urN /usr/ports/irc/xaric/distinfo irc/xaric/distinfo
--- /usr/ports/irc/xaric/distinfo	2006-11-24 03:23:56.000000000 +0900
+++ irc/xaric/distinfo	2009-04-07 18:20:34.000000000 +0900
@@ -1,3 +1,3 @@
-MD5 (xaric-0.13.2.tar.gz) = aa345a3bbd8cfffdbb933fc27d868937
-SHA256 (xaric-0.13.2.tar.gz) = 9447b99ac4474d5d40b08f37c30ccdd5632e23fd991978473e5844f1c824a66d
-SIZE (xaric-0.13.2.tar.gz) = 449916
+MD5 (xaric-0.13.5.tar.gz) = 2c6ac8e3f3fe2ec2e6d4ffc076784a09
+SHA256 (xaric-0.13.5.tar.gz) = 36fb68e0c01b85e7613bd7ca68abd9023c05bef41a195192ea3648d27c95e4ba
+SIZE (xaric-0.13.5.tar.gz) = 454516
diff -urN /usr/ports/irc/xaric/files/patch-iflist.c irc/xaric/files/patch-iflist.c
--- /usr/ports/irc/xaric/files/patch-iflist.c	2006-01-08 20:32:35.000000000 +0900
+++ irc/xaric/files/patch-iflist.c	1970-01-01 09:00:00.000000000 +0900
@@ -1,11 +0,0 @@
---- iflist.c.orig	Sun Jan  8 08:18:32 2006
-+++ iflist.c	Sun Jan  8 08:18:36 2006
-@@ -184,7 +184,7 @@
-     c->thr_ifcb = callback;
-     c->thr_data = data;
- 
--    return THR_CREATE(ifaces_r, c);
-+    return (int)THR_CREATE(ifaces_r, c);
- }
- 
- /**
diff -urN /usr/ports/irc/xaric/files/patch-misc.c irc/xaric/files/patch-misc.c
--- /usr/ports/irc/xaric/files/patch-misc.c	2006-01-09 13:47:46.000000000 +0900
+++ irc/xaric/files/patch-misc.c	1970-01-01 09:00:00.000000000 +0900
@@ -1,20 +0,0 @@
---- misc.c.orig	Wed Nov 30 11:06:26 2005
-+++ misc.c	Sun Jan  8 21:45:27 2006
-@@ -104,7 +104,7 @@
- 
- char *convert_time(time_t ltime)
- {
--    time_t days = 0, hours = 0, minutes = 0, seconds = 0;
-+    unsigned int days = 0, hours = 0, minutes = 0, seconds = 0;
-     static char buffer[100];
- 
-     *buffer = '\0';
-@@ -114,7 +114,7 @@
-     ltime = (ltime - minutes) / 60;
-     hours = ltime % 24;
-     days = (ltime - hours) / 24;
--    sprintf(buffer, "%2ldd %2ldh %2ldm %2lds", days, hours, minutes, seconds);
-+    sprintf(buffer, "%2ud %2uh %2um %2us", days, hours, minutes, seconds);
-     return (*buffer ? buffer : empty_str);
- }
- 
diff -urN /usr/ports/irc/xaric/files/patch-numbers.c irc/xaric/files/patch-numbers.c
--- /usr/ports/irc/xaric/files/patch-numbers.c	2006-01-09 13:47:46.000000000 +0900
+++ irc/xaric/files/patch-numbers.c	1970-01-01 09:00:00.000000000 +0900
@@ -1,19 +0,0 @@
---- numbers.c.orig	Wed Nov 30 11:06:26 2005
-+++ numbers.c	Sun Jan  8 22:22:04 2006
-@@ -980,14 +980,14 @@
- 
- 	case 329:		/* #define CREATION_TIME 329 */
- 	    {
--		time_t tme;
-+		unsigned long tme;
- 		char *this_sucks;
- 		struct channel *chan = NULL;
- 
- 		if (!ArgList[1] || !*ArgList[1])
- 		    break;
- 		sscanf(ArgList[1], "%lu", &tme);
--		this_sucks = ctime(&tme);
-+		this_sucks = ctime((time_t *)&tme);
- 		this_sucks[strlen(this_sucks) - 1] = '\0';
- 
- 		message_from(ArgList[0], LOG_CRAP);
diff -urN /usr/ports/irc/xaric/files/patch-xscandir.c irc/xaric/files/patch-xscandir.c
--- /usr/ports/irc/xaric/files/patch-xscandir.c	2006-01-08 06:14:08.000000000 +0900
+++ irc/xaric/files/patch-xscandir.c	1970-01-01 09:00:00.000000000 +0900
@@ -1,11 +0,0 @@
---- xscandir.c.orig	Sun Jan  8 07:58:21 2006
-+++ xscandir.c	Sun Jan  8 08:00:46 2006
-@@ -84,7 +84,7 @@
- static int the_longest;
- 
- /* used by scandir to select entries */
--static int dselect(const struct dirent *d)
-+static int dselect(struct dirent *d)
- {
-     int t;
- 
diff -urN /usr/ports/irc/xaric/pkg-plist irc/xaric/pkg-plist
--- /usr/ports/irc/xaric/pkg-plist	2004-05-11 13:35:55.000000000 +0900
+++ irc/xaric/pkg-plist	1970-01-01 09:00:00.000000000 +0900
@@ -1,6 +0,0 @@
-bin/xaric
-%%DATADIR%%/help/copying
-%%DATADIR%%/help/help
-%%DATADIR%%/help/warranty
-@dirrm %%DATADIR%%/help
-@dirrm %%DATADIR%%
>Release-Note:
>Audit-Trail:
>Unformatted:



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