Update of /cvsroot/fink/dists/10.4/stable/main/finkinfo/games
In directory vz-cvs-3.sog:/tmp/cvs-serv1941/stable/main/finkinfo/games
Added Files:
cxboard.info cxboard.patch
Log Message:
cxboard to stable with dep upgrades
--- NEW FILE: cxboard.info ---
Package: cxboard
Version: 0.14
Revision: 2
Maintainer: Matthias Neeracher <[email protected]>
Depends: xiangqi, gtk+-shlibs, libgettext8-shlibs, x11
BuildDepends: gtk+, glib, libgettext8-dev, x11-dev
Source: mirror:sourceforge:%n/%n-%v.tar.gz
Source-MD5: 8490d45d8994087e02c0299b09c57bfe
PatchFile: %n.patch
ConfigureParams: --mandir=%i/share/man
PatchFile-MD5: 0512bea8919b832d92f6ba71a45438db
DocFiles: AUTHORS COPYING NEWS README ToDo
Description: Graphical board for Xiangqi (Chinese Chess)
DescDetail: <<
A Chinese Chess board.
<<
DescPort: <<
This package currently does not distinguish colors correctly.
<<
Homepage: http://cxboard.sourceforge.net
License: GPL
--- NEW FILE: cxboard.patch ---
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 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>
+#include <stdint.h>
#define DEFAULT_HOST "localhost"
#define DEFAULT_PORT 22222
------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Fink-commits mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.cvs