Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Aug 2004 00:00:16 +0900
From:      KATO Tsuguru <tkato432@yahoo.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/70865: Update port: games/gnomechess
Message-ID:  <20040824000016.7d20010d.tkato432@yahoo.com>
Resent-Message-ID: <200408231510.i7NFAIxK089146@freefall.freebsd.org>

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

>Number:         70865
>Category:       ports
>Synopsis:       Update port: games/gnomechess
>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:   Mon Aug 23 15:10:18 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.10-RELEASE-p2 i386
>Organization:
>Environment:
>Description:
- Fix build on -current after gcc 3.4 import

New file:
files/patch-src::board.c
files/patch-src::pgn.c
files/patch-src::server-term.c

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/games/gnomechess/Makefile games/gnomechess/Makefile
--- /usr/ports/games/gnomechess/Makefile	Wed Feb  4 18:58:39 2004
+++ games/gnomechess/Makefile	Mon Aug 23 20:25:35 2004
@@ -20,10 +20,11 @@
 RUN_DEPENDS=	crafty:${PORTSDIR}/games/crafty
 
 USE_X_PREFIX=	yes
-USE_GMAKE=	yes
 USE_GNOME=	gnomecanvas gnomehack gnomeprefix libglade
+USE_GMAKE=	yes
 GNU_CONFIGURE=	yes
 CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
 		LDFLAGS="-L${LOCALBASE}/lib"
+MAKE_ARGS=	XML_I18N_UPDATE="${TRUE}" XML_I18N_EXTRACT="${TRUE}"
 
 .include <bsd.port.mk>
diff -urN /usr/ports/games/gnomechess/files/patch-src::board.c games/gnomechess/files/patch-src::board.c
--- /usr/ports/games/gnomechess/files/patch-src::board.c	Thu Jan  1 09:00:00 1970
+++ games/gnomechess/files/patch-src::board.c	Sun Aug 22 03:43:10 2004
@@ -0,0 +1,10 @@
+--- src/board.c.orig	Mon Jul 23 07:45:20 2001
++++ src/board.c	Sun Aug 22 03:42:58 2004
+@@ -661,6 +661,7 @@
+ 		
+ 		break;
+ 	default:
++		;
+ 	}
+ 
+ 	return 0;
diff -urN /usr/ports/games/gnomechess/files/patch-src::pgn.c games/gnomechess/files/patch-src::pgn.c
--- /usr/ports/games/gnomechess/files/patch-src::pgn.c	Thu Jan  1 09:00:00 1970
+++ games/gnomechess/files/patch-src::pgn.c	Sun Aug 22 03:44:56 2004
@@ -0,0 +1,18 @@
+--- src/pgn.c.orig	Thu Jun 28 06:14:20 2001
++++ src/pgn.c	Sun Aug 22 03:44:44 2004
+@@ -311,6 +311,7 @@
+ 		tag->result = g_strdup(value2.v_string);
+ 		break;
+ 	default:
++		;
+ 	}
+ }
+ 
+@@ -512,6 +513,7 @@
+ 	}
+ 
+  finish:
++	;
+ }
+ 
+ static int 
diff -urN /usr/ports/games/gnomechess/files/patch-src::server-term.c games/gnomechess/files/patch-src::server-term.c
--- /usr/ports/games/gnomechess/files/patch-src::server-term.c	Thu Jan  1 09:00:00 1970
+++ games/gnomechess/files/patch-src::server-term.c	Sun Aug 22 03:46:27 2004
@@ -0,0 +1,10 @@
+--- src/server-term.c.orig	Sun Jun 17 04:47:01 2001
++++ src/server-term.c	Sun Aug 22 03:46:07 2004
+@@ -348,6 +348,7 @@
+ 	jump2:
+ 		i++;
+ 	jump:
++		;
+ 	}
+ 	newtext[j] = 0;
+ 	zvt_term_feed (ZVT_TERM (widget), newtext, j);
diff -urN /usr/ports/games/gnomechess/pkg-plist games/gnomechess/pkg-plist
--- /usr/ports/games/gnomechess/pkg-plist	Mon Aug 27 21:16:37 2001
+++ games/gnomechess/pkg-plist	Sun Aug 22 04:31:48 2004
@@ -28,6 +28,7 @@
 share/gnome/mime-info/gnome-chess.keys
 share/gnome/mime-info/gnome-chess.mime
 share/gnome/omf/gnome-chess/gnome-chess-manual-C.omf
+@exec scrollkeeper-install -q %D/share/gnome/omf/gnome-chess/gnome-chess-manual-C.omf 2>/dev/null || true
 share/gnome/pixmaps/gnome-chess.png
 share/gnome/pixmaps/gnome-chess/B.png
 share/gnome/pixmaps/gnome-chess/K.png
@@ -76,3 +77,4 @@
 @dirrm share/gnome/help/gnome-chess-manual
 @dirrm share/gnome/gnome-chess/glade
 @dirrm share/gnome/gnome-chess
+@exec scrollkeeper-uninstall -q %D/share/gnome/omf/gnome-chess/gnome-chess-manual-C.omf 2>/dev/null || true
>Release-Note:
>Audit-Trail:
>Unformatted:



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