rpms/quarry/devel gtp-client.diff,NONE,1.1 quarry.spec,1.3,1.4

Michel Alexandre Salim (salimma) fedora-extras-commits at redhat.com
Tue Oct 10 00:35:04 UTC 2006


Author: salimma

Update of /cvs/extras/rpms/quarry/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv10820/devel

Modified Files:
	quarry.spec 
Added Files:
	gtp-client.diff 
Log Message:
Upstream patch for bug in string handling manifested in x86_64 build


gtp-client.diff:

--- NEW FILE gtp-client.diff ---
--- quarry-0.1.19/src/gtp/gtp-client.c.orig	2006-02-24 15:47:39.000000000 -0500
+++ quarry-0.1.19/src/gtp/gtp-client.c	2006-10-09 20:25:54.000000000 -0400
@@ -536,7 +536,7 @@
   game_format_position_list (GAME_GO, client->board_size, client->board_size,
 			     &buffer, handicap_stones);
   send_command (client, response_callback, user_data,
-		"set_free_handicap %s", buffer);
+		"set_free_handicap %s", buffer.string);
 
   string_buffer_dispose (&buffer);
 }
@@ -612,7 +612,7 @@
 
   send_command (client, response_callback, user_data,
 		client->protocol_version != 1 ? "play %s %s" : "%s %s",
-		COLOR_STRING (color), move_buffer);
+		COLOR_STRING (color), move_buffer.string);
 
   string_buffer_dispose (&move_buffer);
 }


Index: quarry.spec
===================================================================
RCS file: /cvs/extras/rpms/quarry/devel/quarry.spec,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- quarry.spec	8 Oct 2006 13:34:18 -0000	1.3
+++ quarry.spec	10 Oct 2006 00:35:03 -0000	1.4
@@ -1,12 +1,13 @@
 Name:           quarry
 Version:        0.1.19
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        A multi-purpose board game GUI
 
 Group:          Amusements/Games
 License:        GPL
 URL:            http://home.gna.org/quarry/
 Source0:        http://download.gna.org/quarry/quarry-%{version}.tar.gz
+Patch0:		gtp-client.diff
 #Source0:	quarry-%{version}.tar.bz2
 #Source1:	%{name}.desktop
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -28,6 +29,7 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 
 %build
@@ -72,6 +74,9 @@
 
 
 %changelog
+* Mon Oct  9 2006 Michel Salim <michel.salim at gmail.com> - 0.1.19-2
+- Incorporated upstream patch to fix gtp-client string handling
+
 * Sun Oct  8 2006 Michel Salim <michel.salim at gmail.com> - 0.1.19-1
 - Update to 0.1.19
 




More information about the scm-commits mailing list