Update of /cvsroot/fink/dists/10.4-transitional/unstable/main/finkinfo/games
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7385
Modified Files:
cxboard.info cxboard.patch
Log Message:
Fixed cxboard build problems
Index: cxboard.info
===================================================================
RCS file:
/cvsroot/fink/dists/10.4-transitional/unstable/main/finkinfo/games/cxboard.info,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- cxboard.info 27 Apr 2005 03:25:40 -0000 1.1
+++ cxboard.info 19 Dec 2005 20:14:57 -0000 1.2
@@ -14,6 +14,7 @@
A Chinese Chess board.
<<
DescPort: <<
+This package currently does not distinguish colors correctly.
<<
Homepage: http://cxboard.sourceforge.net
License: GPL
Index: cxboard.patch
===================================================================
RCS file:
/cvsroot/fink/dists/10.4-transitional/unstable/main/finkinfo/games/cxboard.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- cxboard.patch 27 Apr 2005 03:25:40 -0000 1.1
+++ cxboard.patch 19 Dec 2005 20:14:57 -0000 1.2
@@ -1,11 +1,41 @@
-Only in cxboard-0.14/pixmaps: K.xpm
-Only in cxboard-0.14/pixmaps: ToDo~
-Only in cxboard-0.14/pixmaps: i1.xpm
-Only in cxboard-0.14/pixmaps: pieces
-Only in cxboard-0.14/pixmaps: sad.xpm
+diff -ru cxboard-0.14-orig/src/callbacks.c cxboard-0.14/src/callbacks.c
+--- cxboard-0.14-orig/src/callbacks.c 2005-12-19 12:06:35.000000000 -0800
++++ cxboard-0.14/src/callbacks.c 2005-12-19 12:08:37.000000000 -0800
+@@ -15,6 +15,8 @@
+ #include "generator.h"
+ #include <fcntl.h>
+
++#define clock cxboard_clock
++
+ void
+ on_new1_activate (GtkMenuItem *menuitem,
+ gpointer user_data)
+diff -ru cxboard-0.14-orig/src/elements.c cxboard-0.14/src/elements.c
+--- cxboard-0.14-orig/src/elements.c 2005-12-19 12:06:35.000000000 -0800
++++ cxboard-0.14/src/elements.c 2005-12-19 12:08:20.000000000 -0800
+@@ -14,6 +14,7 @@
+ #include <errno.h>
+ #include <fcntl.h>
+
++#define clock cxboard_clock
+
+ /* used to mark cannons and pawns place */
+ void board_pixmap_mark_point(GdkPixmap *pm, GdkGC *gc, int i, int j) {
+diff -ru cxboard-0.14-orig/src/elements.h cxboard-0.14/src/elements.h
+--- cxboard-0.14-orig/src/elements.h 2005-12-19 12:06:35.000000000 -0800
++++ cxboard-0.14/src/elements.h 2005-12-19 12:07:58.000000000 -0800
+@@ -15,7 +15,7 @@
+ int engine_level;
+
+ int move_time;
+-int clock;
++int cxboard_clock;
+ void show_clock();
+ void hide_clock();
+
diff -ru cxboard-0.14-orig/src/network.h cxboard-0.14/src/network.h
---- cxboard-0.14-orig/src/network.h Fri Nov 7 19:04:38 2003
-+++ cxboard-0.14/src/network.h Fri Nov 7 19:05:39 2003
+--- cxboard-0.14-orig/src/network.h 2005-12-19 12:06:35.000000000 -0800
++++ cxboard-0.14/src/network.h 2005-12-19 12:06:54.000000000 -0800
@@ -1,5 +1,6 @@
#include <gtk/gtk.h>
#include <arpa/inet.h>
@@ -13,4 +43,3 @@
#define DEFAULT_HOST "localhost"
#define DEFAULT_PORT 22222
-Only in cxboard-0.14/src: network.h~
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Fink-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-commits