]> git.pld-linux.org Git - packages/crafty.git/commitdiff
- updated
authorblekot <blekot@pld-linux.org>
Mon, 7 May 2012 20:35:54 +0000 (20:35 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    crafty-Makefile.patch -> 1.3
    crafty-paths.patch -> 1.5

crafty-Makefile.patch
crafty-paths.patch

index a2ac28c1091bab340e782b2116084ed649a3a33b..a9744e99298390ce4e984cb199220dff446cbd93 100644 (file)
@@ -1,11 +1,49 @@
---- ./Makefile.org     2007-11-17 23:27:09.113833335 +0100
-+++ ./Makefile 2007-11-17 23:27:53.999426624 +0100
-@@ -432,7 +432,7 @@ crafty-make:
+--- Makefile.orig      2010-03-06 22:16:20.000000000 +0100
++++ Makefile   2010-03-06 22:38:29.000000000 +0100
+@@ -108,19 +108,19 @@
+ linux-amd64-profile:
+       $(MAKE) target=LINUX \
+               CC=gcc CXX=g++ \
+-                CFLAGS='-Wall -pipe -fprofile-arcs -fomit-frame-pointer -O3 -march=k8' \
++                CFLAGS='-Wall -pipe -fprofile-arcs -fomit-frame-pointer -O3' \
+               CXFLAGS='' \
+-              LDFLAGS='$(LDFLAGS) -lpthread -lnuma -fprofile-arcs -lstdc++' \
+-              opt='$(opt) -DINLINE64 -DCPUS=8 -DNUMA -DLIBNUMA' \
++              LDFLAGS='$(LDFLAGS) -lpthread -pthreads -fprofile-arcs -lstdc++' \
++              opt='$(opt) -DINLINE64 -DCPUS=8' \
+               crafty-make
+ linux-amd64:
+       $(MAKE) target=LINUX \
+               CC=gcc CXX=g++ \
+-                CFLAGS='-Wall -pipe -fbranch-probabilities -fomit-frame-pointer -O3 -march=k8' \
++                CFLAGS='-Wall -pipe -fbranch-probabilities -fomit-frame-pointer -O3' \
+               CXFLAGS='' \
+-              LDFLAGS='$(LDFLAGS) -lpthread -lnuma -lstdc++' \
+-              opt='$(opt) -DINLINE64 -DCPUS=8 -DNUMA -DLIBNUMA' \
++              LDFLAGS='$(LDFLAGS) -lpthread -pthread -lstdc++' \
++              opt='$(opt) -DINLINE64 -DCPUS=8' \
+               crafty-make
+ linux:
+@@ -128,8 +128,8 @@
+               CC=gcc CXX=g++ \
+               CFLAGS='-pg -Wall -pipe' \
+               CXFLAGS='' \
+-              LDFLAGS='$(LDFLAGS) -pg -lstdc++ -lpthread' \
+-              opt='$(opt) -DTRACE -DINLINE64 -DCPUS=2' \
++              LDFLAGS='$(LDFLAGS) -pg -lstdc++ -pthread -lpthread' \
++              opt='$(opt) -DTRACE -DINLINE32 -DCPUS=2' \
+               crafty-make
+ linux-profile:
+@@ -322,7 +322,7 @@
  crafty.o: *.c *.h
  
- crafty:       $(objects) 
--      $(CC) $(LDFLAGS) -o crafty $(objects) -lm  $(LIBS)
-+      $(CXX) $(LDFLAGS) -o crafty $(objects) -lm  $(LIBS)
+ crafty:       $(objects) egtb.o
+-      $(CC) $(LDFLAGS) -o crafty $(objects) egtb.o -lm  $(LIBS)
++      $(CXX) $(LDFLAGS) -o crafty $(objects) egtb.o -lm  $(LIBS)
  
- dgt:    dgtdrv.o
-       @cc -O -o dgt dgtdrv.c
+ egtb.o: egtb.cpp
+       $(CXX) -c $(CXFLAGS) $(opts) egtb.cpp
+
index a7026a825a3f6fb871a63a227e6d8083111c96ff..097867f7e9c6f434f8dde1d20d9279f7a9ccd1f7 100644 (file)
@@ -1,29 +1,38 @@
---- ./chess.h.org      2007-11-18 11:40:45.390602131 +0100
-+++ ./chess.h  2007-11-18 11:42:18.652054921 +0100
-@@ -131,7 +131,7 @@
- #  define UNIX          /* system is unix-based                       */
- #endif
- #if !defined(BOOKDIR)
--#  define     BOOKDIR        "."
-+#  define     BOOKDIR        "/usr/share/crafty"
- #endif
- #if !defined(PERSDIR)
- #  define     PERSDIR        "."
-@@ -140,7 +140,7 @@
- #  define      LOGDIR        "."
- #endif
- #if !defined(TBDIR)
--#  define       TBDIR     "./TB"
-+#  define       TBDIR     "/usr/share/crafty/TB"
- #endif
- #if !defined(RCDIR)
- #  define       RCDIR        "."
-@@ -1072,7 +1072,7 @@ extern void WinFreeInterleaved(void *, s
- #  include "inlinex86.h"
- #endif
- #if defined(UNIX)
--#  define SPEAK "./speak "
-+#  define SPEAK "/usr/bin/crafty-speak "
- #else
- #  define SPEAK ".\\Speak.exe "
- #endif
+--- chess.h.org        2010-11-08 19:07:43.000000000 +0100
++++ chess.h    2012-05-07 20:13:11.000000000 +0200
+@@ -110,13 +110,13 @@
+ #    define UNIX        /* system is unix-based                       */
+ #  endif
+ #  if !defined(BOOKDIR)
+-#    define     BOOKDIR        "."
++#    define     BOOKDIR        "/usr/share/crafty"
+ #  endif
+ #  if !defined(LOGDIR)
+ #    define      LOGDIR        "."
+ #  endif
+ #  if !defined(TBDIR)
+-#    define       TBDIR     "./TB"
++#    define       TBDIR     "/usr/share/crafty/TB"
+ #  endif
+ #  if !defined(RCDIR)
+ #    define       RCDIR        "."
+@@ -684,7 +684,7 @@
+ #    include "inline32.h"
+ #  endif
+ #  if defined(UNIX)
+-#    define SPEAK "./speak "
++#    define SPEAK "/usr/bin/crafty-speak "
+ #  else
+ #    define SPEAK ".\\Speak.exe "
+ #  endif
+--- option.c.orig      2010-03-04 03:11:14.000000000 +0100
++++ option.c   2010-03-06 22:15:00.000000000 +0100
+@@ -1038,7 +1038,7 @@
+     char *readstat = (char *) -1;
+     int lines = 0;
+-    helpfile = fopen("crafty.hlp", "r");
++    helpfile = fopen("/usr/share/crafty/crafty.hlp", "r");
+     if (!helpfile) {
+       printf("ERROR.  Unable to open \"crafty.hlp\" -- help unavailable\n");
+       return (1);
This page took 0.100677 seconds and 4 git commands to generate.