From owner-svn-ports-head@freebsd.org Tue Aug 25 09:39:58 2020 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 0ECED3C4F55; Tue, 25 Aug 2020 09:39:58 +0000 (UTC) (envelope-from zeising@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 "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BbP996g7Kz46Dx; Tue, 25 Aug 2020 09:39:57 +0000 (UTC) (envelope-from zeising@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 C403E277EC; Tue, 25 Aug 2020 09:39:57 +0000 (UTC) (envelope-from zeising@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 07P9dvFw010940; Tue, 25 Aug 2020 09:39:57 GMT (envelope-from zeising@FreeBSD.org) Received: (from zeising@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 07P9dvQR010938; Tue, 25 Aug 2020 09:39:57 GMT (envelope-from zeising@FreeBSD.org) Message-Id: <202008250939.07P9dvQR010938@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: zeising set sender to zeising@FreeBSD.org using -f From: Niclas Zeising Date: Tue, 25 Aug 2020 09:39:57 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r546147 - head/games/gnugo/files X-SVN-Group: ports-head X-SVN-Commit-Author: zeising X-SVN-Commit-Paths: head/games/gnugo/files X-SVN-Commit-Revision: 546147 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.33 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: Tue, 25 Aug 2020 09:39:58 -0000 Author: zeising Date: Tue Aug 25 09:39:57 2020 New Revision: 546147 URL: https://svnweb.freebsd.org/changeset/ports/546147 Log: games/gnugo: FIx build with -fno-common Fix the build of games/gnugo with -fno-common, which is the default when building with llvm 11. MFH: 2020Q3 (implicit, -fno-common fixes, ok by joenum) Added: head/games/gnugo/files/patch-engine_liberty.h (contents, props changed) head/games/gnugo/files/patch-engine_unconditional.c (contents, props changed) Added: head/games/gnugo/files/patch-engine_liberty.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/gnugo/files/patch-engine_liberty.h Tue Aug 25 09:39:57 2020 (r546147) @@ -0,0 +1,13 @@ +--- engine/liberty.h.orig 2020-08-25 08:52:13 UTC ++++ engine/liberty.h +@@ -856,10 +856,6 @@ struct worm_data { + + extern struct worm_data worm[BOARDMAX]; + +-/* Unconditionally meaningless moves. */ +-int meaningless_black_moves[BOARDMAX]; +-int meaningless_white_moves[BOARDMAX]; +- + /* Surround cache (see surround.c) */ + + #define MAX_SURROUND 10 Added: head/games/gnugo/files/patch-engine_unconditional.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/gnugo/files/patch-engine_unconditional.c Tue Aug 25 09:39:57 2020 (r546147) @@ -0,0 +1,13 @@ +--- engine/unconditional.c.orig 2020-08-25 08:53:07 UTC ++++ engine/unconditional.c +@@ -29,6 +29,10 @@ + + #include "liberty.h" + ++/* Unconditionally meaningless moves. */ ++int meaningless_black_moves[BOARDMAX]; ++int meaningless_white_moves[BOARDMAX]; ++ + /* Capture as many strings of the given color as we can. Played stones + * are left on the board and the number of played stones is returned. + * Strings marked in the exceptions array are excluded from capturing