Update of /cvsroot/fink/dists/10.4/unstable/main/finkinfo/games
In directory sc8-pr-cvs5.sourceforge.net:/tmp/cvs-serv19705/main/finkinfo/games

Modified Files:
      Tag: pangocairo-branch
        crafty-enormousbook.info crafty-tb-four.info 
        crafty-tb-three.info crafty.info crafty.patch eboard.info 
Added Files:
      Tag: pangocairo-branch
        lincity-ng.info 
Removed Files:
      Tag: pangocairo-branch
        crafty-largebook.info crafty-smallbook.info lincity.info 
Log Message:
merge from HEAD (pangocairo-root-22)

Index: eboard.info
===================================================================
RCS file: /cvsroot/fink/dists/10.4/unstable/main/finkinfo/games/eboard.info,v
retrieving revision 1.1
retrieving revision 1.1.2.1
diff -u -d -r1.1 -r1.1.2.1
--- eboard.info 11 Feb 2006 00:01:51 -0000      1.1
+++ eboard.info 26 Mar 2007 15:03:23 -0000      1.1.2.1
@@ -1,12 +1,11 @@
 Package: eboard
-Version: 0.9.5
-Revision: 1002
+Version: 1.0.3
+Revision: 1001
 Maintainer: Matthias Neeracher <[EMAIL PROTECTED]>
 Depends: gtk+-shlibs, imlib-shlibs, chess, expect
 BuildDepends: gettext-dev, libiconv-dev, gtk+, libjpeg, libpng3, libtiff, 
netpbm, glib, giflib, imlib, x11-dev
-Source: mirror:sourceforge:%n/%n-%v.tar.gz
-Source-MD5: 2c22384e0a75c6037eb795df41e3c63b
-Patch: %n.patch
+Source: mirror:sourceforge:%n/%n-%v.tar.bz2
+Source-MD5: 833e656549d9fd9191e51b08005633e3
 GCC: 4.0
 InstallScript: make install bindir=%i/bin mandir=%i/share/man 
datadir=%i/share/eboard
 DocFiles: README AUTHORS COPYING TODO Documentation/*
@@ -16,4 +15,4 @@
 or through an internet chess server.
 <<
 License: GPL
-Homepage: http://eboard.sourceforge.net
+Homepage: http://www.bergo.eng.br/eboard/

--- NEW FILE: lincity-ng.info ---
Package: lincity-ng
Version: 1.1.0
Revision: 1001
Maintainer: Matthias Neeracher <[EMAIL PROTECTED]>
BuildDepends: gettext-dev, gettext-bin, gettext-tools, libiconv-dev, jam,
              sdl, sdl-mixer, sdl-image, sdl-ttf, sdl-gfx13, physfs, libxml2
Depends: sdl-shlibs, sdl-mixer-shlibs, sdl-image-shlibs, sdl-ttf-shlibs, 
         sdl-gfx13-shlibs, physfs-shlibs, libxml2-shlibs
Source: http://download.berlios.de/%n/%n-%v.tar.bz2
Source-MD5: 19010d9800c4b18a7388723d64834512
ConfigureParams: --with-apple-opengl-framework
CompileScript:<<
./configure %c
jam
<<
InstallScript:<<
prefix=%i jam install 
<<
Description: City Simulation Game
License: GPL
Homepage: http://lincity-ng.berlios.de/wiki/index.php/Main_Page


Index: crafty-tb-four.info
===================================================================
RCS file: 
/cvsroot/fink/dists/10.4/unstable/main/finkinfo/games/crafty-tb-four.info,v
retrieving revision 1.1
retrieving revision 1.1.2.1
diff -u -d -r1.1 -r1.1.2.1
--- crafty-tb-four.info 20 Jan 2006 20:25:01 -0000      1.1
+++ crafty-tb-four.info 26 Mar 2007 15:03:22 -0000      1.1.2.1
@@ -1,67 +1,67 @@
 Package: crafty-tb-four
-Version: 19
+Version: 20
 Revision: 1
 Depends: crafty, crafty-tb-three
-Source:  mirror:custom:TB/31/kbbk.nbb.emd
-Source2:  mirror:custom:TB/31/kbbk.nbw.emd
-Source3:  mirror:custom:TB/22/kbkb.nbb.emd
-Source4:  mirror:custom:TB/22/kbkb.nbw.emd
-Source5:  mirror:custom:TB/22/kbkn.nbb.emd
-Source6:  mirror:custom:TB/22/kbkn.nbw.emd
-Source7:  mirror:custom:TB/22p/kbkp.nbb.emd
-Source8:  mirror:custom:TB/22p/kbkp.nbw.emd
-Source9:  mirror:custom:TB/31/kbnk.nbb.emd
-Source10:  mirror:custom:TB/31/kbnk.nbw.emd
-Source11:  mirror:custom:TB/31p/kbpk.nbb.emd
-Source12:  mirror:custom:TB/31p/kbpk.nbw.emd
-Source13:  mirror:custom:TB/22/knkn.nbb.emd
-Source14:  mirror:custom:TB/22/knkn.nbw.emd
-Source15:  mirror:custom:TB/22p/knkp.nbb.emd
-Source16:  mirror:custom:TB/22p/knkp.nbw.emd
-Source17:  mirror:custom:TB/31/knnk.nbb.emd
-Source18:  mirror:custom:TB/31/knnk.nbw.emd
-Source19:  mirror:custom:TB/31p/knpk.nbb.emd
-Source20:  mirror:custom:TB/31p/knpk.nbw.emd
-Source21:  mirror:custom:TB/22p/kpkp.nbb.emd
-Source22:  mirror:custom:TB/22p/kpkp.nbw.emd
-Source23:  mirror:custom:TB/31p/kppk.nbb.emd
-Source24:  mirror:custom:TB/31p/kppk.nbw.emd
-Source25:  mirror:custom:TB/31/kqbk.nbb.emd
-Source26:  mirror:custom:TB/31/kqbk.nbw.emd
-Source27:  mirror:custom:TB/22/kqkb.nbb.emd
-Source28:  mirror:custom:TB/22/kqkb.nbw.emd
-Source29:  mirror:custom:TB/22/kqkn.nbb.emd
-Source30:  mirror:custom:TB/22/kqkn.nbw.emd
-Source31:  mirror:custom:TB/22p/kqkp.nbb.emd
-Source32:  mirror:custom:TB/22p/kqkp.nbw.emd
-Source33:  mirror:custom:TB/22/kqkq.nbb.emd
-Source34:  mirror:custom:TB/22/kqkq.nbw.emd
-Source35:  mirror:custom:TB/22/kqkr.nbb.emd
-Source36:  mirror:custom:TB/22/kqkr.nbw.emd
-Source37:  mirror:custom:TB/31/kqnk.nbb.emd
-Source38:  mirror:custom:TB/31/kqnk.nbw.emd
-Source39:  mirror:custom:TB/31p/kqpk.nbb.emd
-Source40:  mirror:custom:TB/31p/kqpk.nbw.emd
-Source41:  mirror:custom:TB/31/kqqk.nbb.emd
-Source42:  mirror:custom:TB/31/kqqk.nbw.emd
-Source43:  mirror:custom:TB/31/kqrk.nbb.emd
-Source44:  mirror:custom:TB/31/kqrk.nbw.emd
-Source45:  mirror:custom:TB/31/krbk.nbb.emd
-Source46:  mirror:custom:TB/31/krbk.nbw.emd
-Source47:  mirror:custom:TB/22/krkb.nbb.emd
-Source48:  mirror:custom:TB/22/krkb.nbw.emd
-Source49:  mirror:custom:TB/22/krkn.nbb.emd
-Source50:  mirror:custom:TB/22/krkn.nbw.emd
-Source51:  mirror:custom:TB/22p/krkp.nbb.emd
-Source52:  mirror:custom:TB/22p/krkp.nbw.emd
-Source53:  mirror:custom:TB/22/krkr.nbb.emd
-Source54:  mirror:custom:TB/22/krkr.nbw.emd
-Source55:  mirror:custom:TB/31/krnk.nbb.emd
-Source56:  mirror:custom:TB/31/krnk.nbw.emd
-Source57:  mirror:custom:TB/31p/krpk.nbb.emd
-Source58:  mirror:custom:TB/31p/krpk.nbw.emd
-Source59:  mirror:custom:TB/31/krrk.nbb.emd
-Source60:  mirror:custom:TB/31/krrk.nbw.emd
+Source:  mirror:custom:TB/3-4-5/kbbk.nbb.emd
+Source2:  mirror:custom:TB/3-4-5/kbbk.nbw.emd
+Source3:  mirror:custom:TB/3-4-5/kbkb.nbb.emd
+Source4:  mirror:custom:TB/3-4-5/kbkb.nbw.emd
+Source5:  mirror:custom:TB/3-4-5/kbkn.nbb.emd
+Source6:  mirror:custom:TB/3-4-5/kbkn.nbw.emd
+Source7:  mirror:custom:TB/3-4-5/kbkp.nbb.emd
+Source8:  mirror:custom:TB/3-4-5/kbkp.nbw.emd
+Source9:  mirror:custom:TB/3-4-5/kbnk.nbb.emd
+Source10:  mirror:custom:TB/3-4-5/kbnk.nbw.emd
+Source11:  mirror:custom:TB/3-4-5/kbpk.nbb.emd
+Source12:  mirror:custom:TB/3-4-5/kbpk.nbw.emd
+Source13:  mirror:custom:TB/3-4-5/knkn.nbb.emd
+Source14:  mirror:custom:TB/3-4-5/knkn.nbw.emd
+Source15:  mirror:custom:TB/3-4-5/knkp.nbb.emd
+Source16:  mirror:custom:TB/3-4-5/knkp.nbw.emd
+Source17:  mirror:custom:TB/3-4-5/knnk.nbb.emd
+Source18:  mirror:custom:TB/3-4-5/knnk.nbw.emd
+Source19:  mirror:custom:TB/3-4-5/knpk.nbb.emd
+Source20:  mirror:custom:TB/3-4-5/knpk.nbw.emd
+Source21:  mirror:custom:TB/3-4-5/kpkp.nbb.emd
+Source22:  mirror:custom:TB/3-4-5/kpkp.nbw.emd
+Source23:  mirror:custom:TB/3-4-5/kppk.nbb.emd
+Source24:  mirror:custom:TB/3-4-5/kppk.nbw.emd
+Source25:  mirror:custom:TB/3-4-5/kqbk.nbb.emd
+Source26:  mirror:custom:TB/3-4-5/kqbk.nbw.emd
+Source27:  mirror:custom:TB/3-4-5/kqkb.nbb.emd
+Source28:  mirror:custom:TB/3-4-5/kqkb.nbw.emd
+Source29:  mirror:custom:TB/3-4-5/kqkn.nbb.emd
+Source30:  mirror:custom:TB/3-4-5/kqkn.nbw.emd
+Source31:  mirror:custom:TB/3-4-5/kqkp.nbb.emd
+Source32:  mirror:custom:TB/3-4-5/kqkp.nbw.emd
+Source33:  mirror:custom:TB/3-4-5/kqkq.nbb.emd
+Source34:  mirror:custom:TB/3-4-5/kqkq.nbw.emd
+Source35:  mirror:custom:TB/3-4-5/kqkr.nbb.emd
+Source36:  mirror:custom:TB/3-4-5/kqkr.nbw.emd
+Source37:  mirror:custom:TB/3-4-5/kqnk.nbb.emd
+Source38:  mirror:custom:TB/3-4-5/kqnk.nbw.emd
+Source39:  mirror:custom:TB/3-4-5/kqpk.nbb.emd
+Source40:  mirror:custom:TB/3-4-5/kqpk.nbw.emd
+Source41:  mirror:custom:TB/3-4-5/kqqk.nbb.emd
+Source42:  mirror:custom:TB/3-4-5/kqqk.nbw.emd
+Source43:  mirror:custom:TB/3-4-5/kqrk.nbb.emd
+Source44:  mirror:custom:TB/3-4-5/kqrk.nbw.emd
+Source45:  mirror:custom:TB/3-4-5/krbk.nbb.emd
+Source46:  mirror:custom:TB/3-4-5/krbk.nbw.emd
+Source47:  mirror:custom:TB/3-4-5/krkb.nbb.emd
+Source48:  mirror:custom:TB/3-4-5/krkb.nbw.emd
+Source49:  mirror:custom:TB/3-4-5/krkn.nbb.emd
+Source50:  mirror:custom:TB/3-4-5/krkn.nbw.emd
+Source51:  mirror:custom:TB/3-4-5/krkp.nbb.emd
+Source52:  mirror:custom:TB/3-4-5/krkp.nbw.emd
+Source53:  mirror:custom:TB/3-4-5/krkr.nbb.emd
+Source54:  mirror:custom:TB/3-4-5/krkr.nbw.emd
+Source55:  mirror:custom:TB/3-4-5/krnk.nbb.emd
+Source56:  mirror:custom:TB/3-4-5/krnk.nbw.emd
+Source57:  mirror:custom:TB/3-4-5/krpk.nbb.emd
+Source58:  mirror:custom:TB/3-4-5/krpk.nbw.emd
+Source59:  mirror:custom:TB/3-4-5/krrk.nbb.emd
+Source60:  mirror:custom:TB/3-4-5/krrk.nbw.emd
 Source-MD5: 6d3bee7a798a4829fa97f93e52bc1f56
 Source2-MD5: b99e42a83337a23545b4ac7518aed92d
 Source3-MD5: 4b8ceb7ef13036792109a466e3f8ebd1
@@ -123,8 +123,7 @@
 Source59-MD5: 1fa2cf71c40df6d1fe72703dc5c7f2e4
 Source60-MD5: 7935ed877517415ab4e6db9205245681
 CustomMirror: <<
-Primary: ftp://darkside.its-s.tudelft.nl/Crafty
-Secondary: ftp://ftp.cis.uab.edu/pub/hyatt
+primary: ftp://ftp.cis.uab.edu/pub/hyatt
 <<
 NoSourceDirectory: true
 CompileScript: <<

--- lincity.info DELETED ---

--- crafty-smallbook.info DELETED ---

Index: crafty-enormousbook.info
===================================================================
RCS file: 
/cvsroot/fink/dists/10.4/unstable/main/finkinfo/games/crafty-enormousbook.info,v
retrieving revision 1.1
retrieving revision 1.1.2.1
diff -u -d -r1.1 -r1.1.2.1
--- crafty-enormousbook.info    20 Jan 2006 20:25:01 -0000      1.1
+++ crafty-enormousbook.info    26 Mar 2007 15:03:22 -0000      1.1.2.1
@@ -1,17 +1,12 @@
 Package: crafty-enormousbook
-Version: 19
+Version: 20
 Revision: 1
 Depends: crafty (>= %v-1)
-Replaces: crafty, crafty-smallbook, crafty-largebook
-Source:  mirror:custom:enormous.pgn.gz
-Source-MD5: 3fc340986ded101685848be34b1b8106
-CustomMirror: <<
-Primary: ftp://ftp.cis.uab.edu/pub/hyatt/common
-Secondary: ftp://darkside.its-s.tudelft.nl/Crafty/common/enormous
-<<
+Replaces: crafty
+Source:  ftp://ftp.cis.uab.edu/pub/hyatt/pgn/enormous.zip
+Source-MD5: 063c388c5b58fef83fa6f8be35644975
 NoSourceDirectory: true
 CompileScript: <<
-gunzip enormous.pgn.gz
 echo "book create enormous.pgn 60 2 50" | crafty
 <<
 InstallScript: <<

--- crafty-largebook.info DELETED ---

Index: crafty.info
===================================================================
RCS file: /cvsroot/fink/dists/10.4/unstable/main/finkinfo/games/crafty.info,v
retrieving revision 1.2
retrieving revision 1.2.2.1
diff -u -d -r1.2 -r1.2.2.1
--- crafty.info 13 Feb 2006 23:36:00 -0000      1.2
+++ crafty.info 26 Mar 2007 15:03:22 -0000      1.2.2.1
@@ -1,29 +1,28 @@
 Package: crafty
-Version: 19.13
+Version: 20.14
 Revision: 1001
 GCC: 4.0
 Provides: chess
 Replaces: crafty-smallbook, crafty-largebook, crafty-enormousbook
-Source: ftp://ftp.cis.uab.edu/pub/hyatt/v19/%n-%v.tar.gz
-Source-MD5: be890985e8c10b98dc8418eeca027dc1
-Source2: ftp://ftp.cis.uab.edu/pub/hyatt/doc/crafty.doc.ascii
+Source: ftp://ftp.cis.uab.edu/pub/hyatt/source/%n-%v.zip
+Source-MD5: ab681d84fc2f01ce0789cf4f47c945f8
+Source2: ftp://ftp.cis.uab.edu/pub/hyatt/documentation/crafty.doc.ascii
 Source2-MD5: 5fd73027a1de1674763562e1987197ba
-Source3: ftp://ftp.cis.uab.edu/pub/hyatt/doc/crafty.doc.pdf
-Source3-MD5: 324253b7929dd1cac157cdedcd2b7d93
-Source4: ftp://ftp.cis.uab.edu/pub/hyatt/common/medium/medium.zip
+Source3: ftp://ftp.cis.uab.edu/pub/hyatt/documentation/crafty.doc.ps
+Source3-MD5: 6cef69aa2f9ea1ceb74b6c14edc8291f
+Source4: ftp.nl.freebsd.org/os/FreeBSD/distfiles/crafty/medium.zip
 Source4-MD5: 6b4a61d15029811d7cdc34d6adae7a17
-Source5: ftp://ftp.cis.uab.edu/pub/hyatt/common/start.pgn.gz
+Source5: ftp://ftp.cis.uab.edu/pub/hyatt/pgn/start.pgn.gz
 Source5-MD5: c3c54b29351408298e3c7548f4faed93
-NoSourceDirectory: true
 PatchScript: <<
 patch -p1 < %a/%n.patch
 perl -ne 'print if /\Q*****\E/..m|\Q*/\E|;' main.c>README
+gunzip ../start.pgn.gz
 <<
 CompileScript: <<
-make darwin prefix=%p
-gunzip start.pgn.gz
-echo "books create start.pgn 60" | ./crafty
-echo "book create book.txt 60 2 50" | ./crafty
+make darwin prefix=%p opt="-DBOOKDIR=\\\"%p/lib/crafty\\\" 
-DTBDIR=\\\"%p/lib/crafty/TB\\\""
+echo "books create ../start.pgn 60" | ./crafty
+echo "book create ../book.txt 60 2 50" | ./crafty
 <<
 InstallScript: <<
 mkdir -p %i/bin
@@ -31,8 +30,10 @@
 /usr/bin/install -c crafty %i/bin
 /usr/bin/install -c -m 444 book.bin books.bin %i/lib/crafty
 chmod a+w %i/lib/crafty/book.bin
+mkdir -p %i/share/doc/%n
+cp ../crafty.doc.ascii ../crafty.doc.ps %i/share/doc/%n
 <<
-DocFiles: README crafty.doc.ascii crafty.doc.pdf
+DocFiles: README 
 Description: Strong Chess Engine
 DescDetail: <<
 Crafty is a chess engine that allows you to play chess either via the console

Index: crafty.patch
===================================================================
RCS file: /cvsroot/fink/dists/10.4/unstable/main/finkinfo/games/crafty.patch,v
retrieving revision 1.1
retrieving revision 1.1.2.1
diff -u -d -r1.1 -r1.1.2.1
--- crafty.patch        11 Feb 2006 16:02:12 -0000      1.1
+++ crafty.patch        26 Mar 2007 15:03:23 -0000      1.1.2.1
@@ -1,23 +1,9 @@
-diff -ru crafty-orig/Makefile crafty/Makefile
---- crafty-orig/Makefile       Mon Feb 16 10:53:15 2004
-+++ crafty/Makefile    Sun Mar 21 01:19:38 2004
-@@ -146,7 +146,9 @@
-               CXFLAGS=$(CFLAGS) \
-               LDFLAGS=$(LDFLAGS) \
-               LIBS='-lstdc++' \
--              opt='$(opt) -DFUTILITY -DFAST' \
-+              opt='$(opt) -DFUTILITY -DFAST \
-+                   -DBOOKDIR=\"$(prefix)/lib/crafty\" \
-+                   -DTBDIR=\"$(prefix)/lib/crafty/TB\"' \
-               crafty-make
-               
- freebsd:
-diff -ru crafty-orig/chess.h crafty/chess.h
---- crafty-orig/chess.h        Sat Feb 21 19:53:51 2004
-+++ crafty/chess.h     Sun Mar 21 01:03:12 2004
-@@ -134,6 +134,9 @@
- #if !defined(BOOKDIR)
- #  define     BOOKDIR        "."
+diff -ru crafty-20.14-orig/chess.h crafty-20.14/chess.h
+--- crafty-20.14-orig/chess.h  2007-03-23 21:46:15.000000000 -0700
++++ crafty-20.14/chess.h       2007-03-23 21:53:36.000000000 -0700
+@@ -136,6 +136,9 @@
+ #if !defined(PERSDIR)
+ #  define     PERSDIR        "."
  #endif
 +#if !defined(LEARNDIR)
 +#  define     LEARNDIR        "."
@@ -25,32 +11,35 @@
  #if !defined(LOGDIR)
  #  define      LOGDIR        "."
  #endif
-diff -ru crafty-orig/data.c crafty/data.c
---- crafty-orig/data.c Sat Feb 21 19:53:51 2004
-+++ crafty/data.c      Sun Mar 21 01:03:58 2004
-@@ -319,6 +319,7 @@
- int       new_game = 0;
- char      channel_title[32] = { "" };
- char      book_path[128] = { BOOKDIR };
-+char      learn_path[128] = { LEARNDIR };
- char      log_path[128] = { LOGDIR };
- char      tb_path[128] = { TBDIR };
- char      rc_path[128] = { RCDIR };
-diff -ru crafty-orig/data.h crafty/data.h
---- crafty-orig/data.h Sat Feb 21 19:53:51 2004
-+++ crafty/data.h      Sun Mar 21 01:04:30 2004
-@@ -96,6 +96,7 @@
+Only in crafty-20.14: chess.h.orig
+diff -ru crafty-20.14-orig/data.c crafty-20.14/data.c
+--- crafty-20.14-orig/data.c   2007-03-23 21:46:15.000000000 -0700
++++ crafty-20.14/data.c        2007-03-23 21:53:36.000000000 -0700
+@@ -209,6 +209,7 @@
+ int new_game = 0;
+ char channel_title[32] = { "" };
+ char book_path[128] = { BOOKDIR };
++char learn_path[128] = { LEARNDIR };
+ char personality_path[128] = { PERSDIR };
+ char log_path[128] = { LOGDIR };
+ char tb_path[128] = { TBDIR };
+Only in crafty-20.14: data.c.orig
+diff -ru crafty-20.14-orig/data.h crafty-20.14/data.h
+--- crafty-20.14-orig/data.h   2007-03-23 21:46:15.000000000 -0700
++++ crafty-20.14/data.h        2007-03-23 21:53:36.000000000 -0700
+@@ -90,6 +90,7 @@
  extern int channel;
  extern char channel_title[32];
  extern char book_path[128];
 +extern char learn_path[128];
+ extern char personality_path[128];
  extern char log_path[128];
  extern char tb_path[128];
- extern char rc_path[128];
-diff -ru crafty-orig/init.c crafty/init.c
---- crafty-orig/init.c Sat Feb 21 19:53:51 2004
-+++ crafty/init.c      Sun Mar 21 01:07:06 2004
-@@ -169,15 +169,15 @@
+Only in crafty-20.14: data.h.orig
+diff -ru crafty-20.14-orig/init.c crafty-20.14/init.c
+--- crafty-20.14-orig/init.c   2007-03-23 21:46:15.000000000 -0700
++++ crafty-20.14/init.c        2007-03-23 21:53:36.000000000 -0700
+@@ -173,15 +173,15 @@
        books_file = 0;
      }
    }
@@ -69,7 +58,7 @@
      position_file = fopen(log_filename, "rb+");
      if (position_file) {
        fseek(position_file, 0, SEEK_END);
-@@ -195,19 +195,19 @@
+@@ -199,12 +199,12 @@
          fwrite(&i, sizeof(int), 1, position_file);
        } else {
          Print(128, "unable to open position learning file 
[%s/position.bin].\n",
@@ -84,7 +73,8 @@
      position_lrn_file = fopen(log_filename, "r");
      if (!position_lrn_file) {
        position_lrn_file = fopen(log_filename, "a");
-       if (position_lrn_file) fprintf(position_lrn_file, "position\n");
+@@ -212,7 +212,7 @@
+         fprintf(position_lrn_file, "position\n");
        else {
          Print(128, "unable to open position learning file 
[%s/position.bin].\n",
 -            book_path);
@@ -92,10 +82,10 @@
          Print(128, "learning disabled.\n");
          learning &= ~position_learning;
        }
-diff -ru crafty-orig/learn.c crafty/learn.c
---- crafty-orig/learn.c        Sat Feb 21 19:53:51 2004
-+++ crafty/learn.c     Sun Mar 21 01:07:42 2004
-@@ -545,7 +545,7 @@
+diff -ru crafty-20.14-orig/learn.c crafty-20.14/learn.c
+--- crafty-20.14-orig/learn.c  2007-03-23 21:46:15.000000000 -0700
++++ crafty-20.14/learn.c       2007-03-23 21:53:36.000000000 -0700
+@@ -552,7 +552,7 @@
      int index[32768], i, j, cluster;
  
      fclose(book_lrn_file);
@@ -103,8 +93,8 @@
 +    sprintf(text, "%s/book.lrn", learn_path);
      book_lrn_file = fopen(text, "w");
      fseek(book_file, 0, SEEK_SET);
-     fread(index, sizeof(int), 32768, book_file);
-@@ -885,15 +885,15 @@
+     for (i = 0; i < 32768; i++) {
+@@ -905,15 +905,15 @@
    }
    if (nargs > 1 && !strcmp(args[1], "clear")) {
      fclose(position_file);
@@ -123,7 +113,7 @@
      position_file = fopen(text, "wb+");
      if (position_file) {
        i = 0;
-@@ -903,7 +903,7 @@
+@@ -923,7 +923,7 @@
        fwrite(&i, sizeof(int), 1, position_file);
      } else {
        printf("unable to open position learning file [%s/position.bin].\n",
@@ -132,11 +122,12 @@
        return;
      }
    }
-diff -ru crafty-orig/main.c crafty/main.c
---- crafty-orig/main.c Sat Feb 21 19:53:51 2004
-+++ crafty/main.c      Sun Mar 21 01:08:54 2004
-@@ -3052,6 +3052,9 @@
-   quit = 0;
+Only in crafty-20.14: learn.c.orig
+diff -ru crafty-20.14-orig/main.c crafty-20.14/main.c
+--- crafty-20.14-orig/main.c   2007-03-23 21:46:15.000000000 -0700
++++ crafty-20.14/main.c        2007-03-23 21:53:36.000000000 -0700
+@@ -3414,6 +3414,9 @@
+   shared = SharedMalloc(sizeof(SHARED), 0);
    if (directory_spec)
      strncpy(book_path, directory_spec, sizeof book_path);
 +  directory_spec = getenv("CRAFTY_LEARN_PATH");
@@ -145,15 +136,31 @@
    directory_spec = getenv("CRAFTY_LOG_PATH");
    if (directory_spec)
      strncpy(log_path, directory_spec, sizeof log_path);
-diff -ru crafty-orig/option.c crafty/option.c
---- crafty-orig/option.c       Sat Feb 21 19:53:51 2004
-+++ crafty/option.c    Sun Mar 21 01:10:06 2004
-@@ -2810,6 +2810,8 @@
+Only in crafty-20.14: main.c.orig
+diff -ru crafty-20.14-orig/option.c crafty-20.14/option.c
+--- crafty-20.14-orig/option.c 2007-03-23 21:46:15.000000000 -0700
++++ crafty-20.14/option.c      2007-03-23 21:53:36.000000000 -0700
+@@ -2326,19 +2326,21 @@
+  ************************************************************
+  */
+   else if (OptionMatch("logpath", *args) || OptionMatch("perspath", *args)
+-      || OptionMatch("bookpath", *args) || OptionMatch("tbpath", *args)) {
++      || OptionMatch("bookpath", *args) || OptionMatch("learnpath", *args) || 
OptionMatch("tbpath", *args)) {
+     if (OptionMatch("logpath", *args) || OptionMatch("bookpath", *args)) {
+       if (log_file)
+         Print(4095, "ERROR -- this must be used on command line only\n");
+     }
+     nargs = ReadParse(buffer, args, "         =");
+     if (nargs < 2) {
+-      printf("usage:  bookpath|perspath|logpath|tbpath <path>\n");
++      printf("usage:  bookpath|learnpath|perspath|logpath|tbpath <path>\n");
+       return (1);
+     }
      if (!strchr(args[1], '(')) {
        if (strstr(args[0], "bookpath"))
          strcpy(book_path, args[1]);
 +      else if (strstr(args[0], "learnpath"))
 +        strcpy(learn_path, args[1]);
+       else if (strstr(args[0], "perspath"))
+         strcpy(personality_path, args[1]);
        else if (strstr(args[0], "logpath"))
-         strcpy(log_path, args[1]);
-       else if (strstr(args[0], "tbpath")) {

Index: crafty-tb-three.info
===================================================================
RCS file: 
/cvsroot/fink/dists/10.4/unstable/main/finkinfo/games/crafty-tb-three.info,v
retrieving revision 1.1
retrieving revision 1.1.2.1
diff -u -d -r1.1 -r1.1.2.1
--- crafty-tb-three.info        20 Jan 2006 20:25:01 -0000      1.1
+++ crafty-tb-three.info        26 Mar 2007 15:03:22 -0000      1.1.2.1
@@ -1,17 +1,17 @@
 Package: crafty-tb-three
-Version: 19
+Version: 20
 Revision: 1
 Depends: crafty 
-Source:   mirror:custom:TB/21/kbk.nbb.emd
-Source2:  mirror:custom:TB/21/kbk.nbw.emd
-Source3:  mirror:custom:TB/21/knk.nbb.emd
-Source4:  mirror:custom:TB/21/knk.nbw.emd
-Source5:  mirror:custom:TB/21p/kpk.nbb.emd
-Source6:  mirror:custom:TB/21p/kpk.nbw.emd
-Source7:  mirror:custom:TB/21/kqk.nbb.emd
-Source8:  mirror:custom:TB/21/kqk.nbw.emd
-Source9:  mirror:custom:TB/21/krk.nbb.emd
-Source10:  mirror:custom:TB/21/krk.nbw.emd
+Source:   mirror:custom:TB/3-4-5/kbk.nbb.emd
+Source2:  mirror:custom:TB/3-4-5/kbk.nbw.emd
+Source3:  mirror:custom:TB/3-4-5/knk.nbb.emd
+Source4:  mirror:custom:TB/3-4-5/knk.nbw.emd
+Source5:  mirror:custom:TB/3-4-5/kpk.nbb.emd
+Source6:  mirror:custom:TB/3-4-5/kpk.nbw.emd
+Source7:  mirror:custom:TB/3-4-5/kqk.nbb.emd
+Source8:  mirror:custom:TB/3-4-5/kqk.nbw.emd
+Source9:  mirror:custom:TB/3-4-5/krk.nbb.emd
+Source10:  mirror:custom:TB/3-4-5/krk.nbw.emd
 Source-MD5: 8ff4e8b0822af3a649b7d3fab2666380
 Source2-MD5: 77fb1da926482b183c6dae27652b8d30
 Source3-MD5: 8ff4e8b0822af3a649b7d3fab2666380
@@ -23,8 +23,7 @@
 Source9-MD5: 28daeac8363778e14b9e23eb2f309c52
 Source10-MD5: 65361d2a28808a99400e5d7a2dfd41a5
 CustomMirror: <<
-Primary: ftp://darkside.its-s.tudelft.nl/Crafty
-Secondary: ftp://ftp.cis.uab.edu/pub/hyatt
+Primary: ftp://ftp.cis.uab.edu/pub/hyatt
 <<
 NoSourceDirectory: true
 CompileScript: <<


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to