View | Details | Raw Unified | Return to bug 134289
Collapse All | Expand All

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

Return to bug 134289