svn commit: r550171 - in head/games/sjeng: . files
Stefan Eßer
se at FreeBSD.org
Sat Sep 26 11:52:23 UTC 2020
Author: se
Date: Sat Sep 26 11:52:22 2020
New Revision: 550171
URL: https://svnweb.freebsd.org/changeset/ports/550171
Log:
Fix build with -fno-common
Added:
head/games/sjeng/files/
head/games/sjeng/files/patch-extvars.h (contents, props changed)
head/games/sjeng/files/patch-sjeng.c (contents, props changed)
Modified:
head/games/sjeng/Makefile
Modified: head/games/sjeng/Makefile
==============================================================================
--- head/games/sjeng/Makefile Sat Sep 26 11:40:25 2020 (r550170)
+++ head/games/sjeng/Makefile Sat Sep 26 11:52:22 2020 (r550171)
@@ -3,7 +3,7 @@
PORTNAME= sjeng
PORTVERSION= 11.2
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= games
MASTER_SITES= http://sjeng.org/ftp/
DISTNAME= Sjeng-Free-${PORTVERSION}
@@ -16,7 +16,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libgdbm.so:databases/gdbm
-USES= localbase
+USES= localbase dos2unix
GNU_CONFIGURE= yes
PLIST_FILES= bin/sjeng
Added: head/games/sjeng/files/patch-extvars.h
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/games/sjeng/files/patch-extvars.h Sat Sep 26 11:52:22 2020 (r550171)
@@ -0,0 +1,17 @@
+--- extvars.h.orig 2001-12-27 22:19:58 UTC
++++ extvars.h
+@@ -129,10 +129,10 @@ extern int numb_moves;
+
+ extern int phase;
+
+-FILE *lrn_standard;
+-FILE *lrn_zh;
+-FILE *lrn_suicide;
+-FILE *lrn_losers;
++extern FILE *lrn_standard;
++extern FILE *lrn_zh;
++extern FILE *lrn_suicide;
++extern FILE *lrn_losers;
+ extern int bestmovenum;
+
+ extern int ugly_ep_hack;
Added: head/games/sjeng/files/patch-sjeng.c
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/games/sjeng/files/patch-sjeng.c Sat Sep 26 11:52:22 2020 (r550171)
@@ -0,0 +1,11 @@
+--- sjeng.c.orig 2001-12-27 22:20:38 UTC
++++ sjeng.c
+@@ -36,7 +36,7 @@ char divider[50] = "----------------------------------
+ move_s dummy = {0,0,0,0,0};
+
+ int board[144], moved[144], ep_square, white_to_move, comp_color, wking_loc,
+- bking_loc, white_castled, black_castled, result, ply, pv_length[PV_BUFF],
++ bking_loc, white_castled, black_castled, result, pv_length[PV_BUFF],
+ pieces[62], squares[144], num_pieces, i_depth, fifty, piece_count;
+
+ long int nodes, raw_nodes, qnodes, killer_scores[PV_BUFF],
More information about the svn-ports-all
mailing list