From owner-svn-ports-head@freebsd.org Fri Feb 5 15:34:57 2021 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id C5DAA54AA4E; Fri, 5 Feb 2021 15:34:57 +0000 (UTC) (envelope-from naddy@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DXKH55JTDz3Pg0; Fri, 5 Feb 2021 15:34:57 +0000 (UTC) (envelope-from naddy@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id A917E20CC8; Fri, 5 Feb 2021 15:34:57 +0000 (UTC) (envelope-from naddy@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 115FYv57043053; Fri, 5 Feb 2021 15:34:57 GMT (envelope-from naddy@FreeBSD.org) Received: (from naddy@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 115FYu8H043048; Fri, 5 Feb 2021 15:34:56 GMT (envelope-from naddy@FreeBSD.org) Message-Id: <202102051534.115FYu8H043048@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: naddy set sender to naddy@FreeBSD.org using -f From: Christian Weisgerber Date: Fri, 5 Feb 2021 15:34:56 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r564122 - in head/games/gnushogi: . files X-SVN-Group: ports-head X-SVN-Commit-Author: naddy X-SVN-Commit-Paths: in head/games/gnushogi: . files X-SVN-Commit-Revision: 564122 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Feb 2021 15:34:57 -0000 Author: naddy Date: Fri Feb 5 15:34:56 2021 New Revision: 564122 URL: https://svnweb.freebsd.org/changeset/ports/564122 Log: * Fix build with -fno-common * Remove Makefile.common, accidentally left over in r345138 Added: head/games/gnushogi/files/patch-gnushogi_cursesdsp.c (contents, props changed) head/games/gnushogi/files/patch-gnushogi_globals.c (contents, props changed) head/games/gnushogi/files/patch-gnushogi_init.c (contents, props changed) head/games/gnushogi/files/patch-gnushogi_rawdsp.c (contents, props changed) Deleted: head/games/gnushogi/Makefile.common Modified: head/games/gnushogi/files/patch-doc_gnushogi.texi Modified: head/games/gnushogi/files/patch-doc_gnushogi.texi ============================================================================== --- head/games/gnushogi/files/patch-doc_gnushogi.texi Fri Feb 5 15:05:02 2021 (r564121) +++ head/games/gnushogi/files/patch-doc_gnushogi.texi Fri Feb 5 15:34:56 2021 (r564122) @@ -1,5 +1,5 @@ ---- doc/gnushogi.texi.orig 2014-02-17 21:26:59.000000000 +0100 -+++ doc/gnushogi.texi 2014-02-19 20:38:54.000000000 +0100 +--- doc/gnushogi.texi.orig 2014-02-17 20:26:59 UTC ++++ doc/gnushogi.texi @@ -3,6 +3,10 @@ @c % ** Start of header. @setfilename gnushogi.info Added: head/games/gnushogi/files/patch-gnushogi_cursesdsp.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/gnushogi/files/patch-gnushogi_cursesdsp.c Fri Feb 5 15:34:56 2021 (r564122) @@ -0,0 +1,20 @@ +--- gnushogi/cursesdsp.c.orig 2021-02-05 15:24:17 UTC ++++ gnushogi/cursesdsp.c +@@ -61,17 +61,11 @@ + + #define FLUSH_SCANW fflush(stdout), scanw + +-int mycnt1, mycnt2; +- + #define MARGIN (5) + #define TAB (58) + + #define VIR_C(s) ((flag.reverse) ? (NO_COLS - 1 - column(s)) : column(s)) + #define VIR_R(s) ((flag.reverse) ? (NO_ROWS - 1 - row(s)) : row(s)) +- +-unsigned short MV[MAXDEPTH]; +-int MSCORE; +-char *DRAW; + + /* Forward declarations. */ + /* FIXME: change this name, puh-leeze! */ Added: head/games/gnushogi/files/patch-gnushogi_globals.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/gnushogi/files/patch-gnushogi_globals.c Fri Feb 5 15:34:56 2021 (r564122) @@ -0,0 +1,13 @@ +--- gnushogi/globals.c.orig 2014-02-16 18:20:24 UTC ++++ gnushogi/globals.c +@@ -51,6 +51,10 @@ char ColorStr[2][10]; + + long znodes; + ++unsigned short MV[MAXDEPTH]; ++int MSCORE; ++int mycnt1, mycnt2; ++ + + + #ifdef BINBOOK Added: head/games/gnushogi/files/patch-gnushogi_init.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/gnushogi/files/patch-gnushogi_init.c Fri Feb 5 15:34:56 2021 (r564122) @@ -0,0 +1,20 @@ +--- gnushogi/init.c.orig 2014-02-17 20:26:59 UTC ++++ gnushogi/init.c +@@ -63,7 +63,7 @@ short nolist = 1; /* Don't list the game aft + * or DISPLAY_X; the default is DISPLAY_X to make life easier for xshogi. + */ + +-display_t display_type = DISPLAY_X; ++display_t display_type = DISPLAY_CURSES; + + /* .... MOVE GENERATION VARIABLES AND INITIALIZATIONS .... */ + +@@ -100,7 +100,7 @@ distance(short a, short b) + short + distance(short a, short b) + { +- return (use_distdata ++ return (use_distdata && a < NO_SQUARES && b < NO_SQUARES + ? (short)(*distdata)[(int)a][(int)b] + : (short)computed_distance(a, b)); + } Added: head/games/gnushogi/files/patch-gnushogi_rawdsp.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/gnushogi/files/patch-gnushogi_rawdsp.c Fri Feb 5 15:34:56 2021 (r564122) @@ -0,0 +1,14 @@ +--- gnushogi/rawdsp.c.orig 2021-02-05 15:24:17 UTC ++++ gnushogi/rawdsp.c +@@ -43,11 +43,6 @@ + #include "gnushogi.h" + #include "rawdsp.h" + +-unsigned short MV[MAXDEPTH]; +-int MSCORE; +- +-int mycnt1, mycnt2; +-char *DRAW; + extern char *InPtr; + extern short pscore[]; +