games/gnugo: fix for -fno-common, upstream has been inactive for years
This commit is contained in:
parent
007ebcd0f5
commit
c84b6e8c8f
@ -1,9 +1,9 @@
|
||||
# $OpenBSD: Makefile,v 1.31 2019/07/12 20:46:19 sthen Exp $
|
||||
# $OpenBSD: Makefile,v 1.32 2021/02/04 20:09:32 naddy Exp $
|
||||
|
||||
COMMENT = GNU version of Go
|
||||
|
||||
DISTNAME = gnugo-3.8
|
||||
REVISION = 1
|
||||
REVISION = 2
|
||||
CATEGORIES = games
|
||||
|
||||
HOMEPAGE = https://www.gnu.org/software/gnugo/
|
||||
|
@ -1,6 +1,7 @@
|
||||
$OpenBSD: patch-doc_gnugo_texi,v 1.1 2001/08/06 10:08:27 fgsch Exp $
|
||||
--- doc/gnugo.texi.orig Sun Feb 13 11:27:42 2000
|
||||
+++ doc/gnugo.texi Mon Aug 6 06:57:28 2001
|
||||
$OpenBSD: patch-doc_gnugo_texi,v 1.2 2021/02/04 20:09:32 naddy Exp $
|
||||
Index: doc/gnugo.texi
|
||||
--- doc/gnugo.texi.orig
|
||||
+++ doc/gnugo.texi
|
||||
@@ -2,6 +2,10 @@
|
||||
@c %**start of header
|
||||
@setfilename gnugo.info
|
||||
@ -11,4 +12,4 @@ $OpenBSD: patch-doc_gnugo_texi,v 1.1 2001/08/06 10:08:27 fgsch Exp $
|
||||
+@end direntry
|
||||
@c %**end of header
|
||||
|
||||
@set EDITION 1.0
|
||||
@dircategory GNU games
|
||||
|
14
games/gnugo/patches/patch-engine_globals_c
Normal file
14
games/gnugo/patches/patch-engine_globals_c
Normal file
@ -0,0 +1,14 @@
|
||||
$OpenBSD: patch-engine_globals_c,v 1.1 2021/02/04 20:09:32 naddy Exp $
|
||||
|
||||
Index: engine/globals.c
|
||||
--- engine/globals.c.orig
|
||||
+++ engine/globals.c
|
||||
@@ -152,6 +152,8 @@ int false_eye_territory[BOARDMAX];
|
||||
int forced_backfilling_moves[BOARDMAX];
|
||||
|
||||
struct worm_data worm[BOARDMAX];
|
||||
+int meaningless_black_moves[BOARDMAX];
|
||||
+int meaningless_white_moves[BOARDMAX];
|
||||
struct dragon_data dragon[BOARDMAX];
|
||||
int number_of_dragons;
|
||||
struct dragon_data2 *dragon2 = NULL;
|
16
games/gnugo/patches/patch-engine_liberty_h
Normal file
16
games/gnugo/patches/patch-engine_liberty_h
Normal file
@ -0,0 +1,16 @@
|
||||
$OpenBSD: patch-engine_liberty_h,v 1.1 2021/02/04 20:09:32 naddy Exp $
|
||||
|
||||
Index: engine/liberty.h
|
||||
--- engine/liberty.h.orig
|
||||
+++ engine/liberty.h
|
||||
@@ -857,8 +857,8 @@ struct worm_data {
|
||||
extern struct worm_data worm[BOARDMAX];
|
||||
|
||||
/* Unconditionally meaningless moves. */
|
||||
-int meaningless_black_moves[BOARDMAX];
|
||||
-int meaningless_white_moves[BOARDMAX];
|
||||
+extern int meaningless_black_moves[BOARDMAX];
|
||||
+extern int meaningless_white_moves[BOARDMAX];
|
||||
|
||||
/* Surround cache (see surround.c) */
|
||||
|
Loading…
x
Reference in New Issue
Block a user