Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Sep 2010 03:00:28 +0900
From:      KATO Tsuguru <tkato432@yahoo.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/150661: Update port: games/gtkatlantic to 0.4.3
Message-ID:  <20100918030028.c0862426.tkato432@yahoo.com>
Resent-Message-ID: <201009171820.o8HIK9s0090872@freefall.freebsd.org>

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

>Number:         150661
>Category:       ports
>Synopsis:       Update port: games/gtkatlantic to 0.4.3
>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:   Fri Sep 17 18:20:09 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 7.3-RELEASE-p2 i386
>Organization:
>Environment:
>Description:
- Update to version 0.4.3

Remove file:
files/patch-display.c

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/games/gtkatlantic/Makefile games/gtkatlantic/Makefile
--- /usr/ports/games/gtkatlantic/Makefile	2010-07-26 21:28:32.000000000 +0900
+++ games/gtkatlantic/Makefile	2010-09-14 03:43:58.000000000 +0900
@@ -6,24 +6,22 @@
 #    $MCom: ports-stable/games/gtkatlantic/Makefile,v 1.1 2006/03/04 21:36:29 ahze Exp $
 
 PORTNAME=	gtkatlantic
-PORTVERSION=	0.4.2
-PORTREVISION=	6
+PORTVERSION=	0.4.3
 CATEGORIES=	games
 MASTER_SITES=	http://download.tuxfamily.org/gtkatlantic/downloads/v0.4/
 
 MAINTAINER=	ports@FreeBSD.org
-COMMENT=	GtkAtlantic is a game like Monopoly(tm)
+COMMENT=	A game like Monopoly(tm)
 
 USE_BZIP2=	yes
 USE_GNOME=	gtk20
-GNU_CONFIGURE=	yes
 USE_GMAKE=	yes
-
+GNU_CONFIGURE=	yes
 CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
 		LDFLAGS="-L${LOCALBASE}/lib"
 
 post-patch:
-	@${REINPLACE_CMD} -e 's|mkdir |${MKDIR} |' \
-		${WRKSRC}/Makefile.in ${WRKSRC}/configure
+	@${REINPLACE_CMD} -e '/-Werror/s|^|#|' ${WRKSRC}/configure
+	@${REINPLACE_CMD} -e 's|mkdir |$$(mkdir_p) |g' ${WRKSRC}/Makefile.in
 
 .include <bsd.port.mk>
diff -urN /usr/ports/games/gtkatlantic/distinfo games/gtkatlantic/distinfo
--- /usr/ports/games/gtkatlantic/distinfo	2006-03-16 15:25:02.000000000 +0900
+++ games/gtkatlantic/distinfo	2010-09-14 01:28:06.000000000 +0900
@@ -1,3 +1,3 @@
-MD5 (gtkatlantic-0.4.2.tar.bz2) = 26df95781ececae75feb181eed18fefb
-SHA256 (gtkatlantic-0.4.2.tar.bz2) = 44af09fba5a71f2e6462206b6e6f32ac89c91afd9383c5860e632fa31491bd75
-SIZE (gtkatlantic-0.4.2.tar.bz2) = 779687
+MD5 (gtkatlantic-0.4.3.tar.bz2) = 51a4a153b51028338290c4fcf1572368
+SHA256 (gtkatlantic-0.4.3.tar.bz2) = 5711eab90b831816da48b1d30f0f0d2b511bfaa6b057240977296f2c133184b1
+SIZE (gtkatlantic-0.4.3.tar.bz2) = 748589
diff -urN /usr/ports/games/gtkatlantic/files/patch-display.c games/gtkatlantic/files/patch-display.c
--- /usr/ports/games/gtkatlantic/files/patch-display.c	2005-03-18 09:51:49.000000000 +0900
+++ games/gtkatlantic/files/patch-display.c	1970-01-01 09:00:00.000000000 +0900
@@ -1,30 +0,0 @@
---- src/display.c.orig	Fri Jun 25 03:02:45 2004
-+++ src/display.c	Thu Mar 17 19:41:54 2005
-@@ -201,6 +201,8 @@
- 
- 
- void display_text(guchar *message) {
-+        GtkTextIter txtiter;
-+        GtkTextBuffer *txtbuff;
- 
- 	GtkWidget *vbox;
- 	GtkWidget *text;
-@@ -240,7 +242,7 @@
- 	msg = g_strdup("");
- 
- 	for(len = strlen(data), i = 0 ; i < len ; i++)  {
--
-+        	
- 		chr = g_strndup(data +i, 1);
- 
- 		if(! strncmp(data +i, "&amp;", 5) ) {
-@@ -256,9 +258,6 @@
- 	}
- 	g_free(data);
- 
--	/* fill with text */
--	GtkTextBuffer *txtbuff;
--	GtkTextIter txtiter;
- 	
- 	txtbuff = gtk_text_view_get_buffer(GTK_TEXT_VIEW(text));
- 	gtk_text_buffer_get_end_iter(txtbuff, &txtiter);
diff -urN /usr/ports/games/gtkatlantic/files/patch-readpng.c games/gtkatlantic/files/patch-readpng.c
--- /usr/ports/games/gtkatlantic/files/patch-readpng.c	2010-03-30 21:10:48.000000000 +0900
+++ games/gtkatlantic/files/patch-readpng.c	2010-09-14 03:29:50.000000000 +0900
@@ -1,11 +1,11 @@
---- src/readpng.c.orig	2004-06-25 09:02:45.000000000 +0200
-+++ src/readpng.c	2010-03-30 14:01:35.000000000 +0200
+--- src/readpng.c.orig	2010-04-18 11:36:49.000000000 +0900
++++ src/readpng.c	2010-09-14 03:27:35.000000000 +0900
 @@ -33,7 +33,7 @@
  	png_uint_32 width, height;
  
  	fread(sig, 1, 8, infile);
--	if (!png_check_sig(sig, 8))
-+	if (png_sig_cmp(sig, 0, 8))
+-	if (!png_check_sig((png_bytep)sig, 8))
++	if (png_sig_cmp((png_bytep)sig, 0, 8))
  		return FALSE;
  
  	*png_struct = png_create_read_struct(PNG_LIBPNG_VER_STRING, NULL, NULL, NULL);
>Release-Note:
>Audit-Trail:
>Unformatted:



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