Received: by mail.netbsd.org (Postfix, from userid 605) id A26C684EDB; Mon, 25 Apr 2022 13:53:16 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id DE66084D23 for ; Mon, 25 Apr 2022 13:53:15 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id Ie9gSD-Im_Dt for ; Mon, 25 Apr 2022 13:53:15 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id 65A8084CEF for ; Mon, 25 Apr 2022 13:53:15 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 5EAD7FB1A; Mon, 25 Apr 2022 13:53:15 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1650894795108670" MIME-Version: 1.0 Date: Mon, 25 Apr 2022 13:53:15 +0000 From: "Tobias Nygren" Subject: CVS commit: pkgsrc/games/exchess To: pkgsrc-changes@NetBSD.org Reply-To: tnn@netbsd.org X-Mailer: log_accum Message-Id: <20220425135315.5EAD7FB1A@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1650894795108670 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: tnn Date: Mon Apr 25 13:53:15 UTC 2022 Modified Files: pkgsrc/games/exchess: distinfo Added Files: pkgsrc/games/exchess/patches: patch-src_smp.cpp Log Message: exchess: avoid ambiguous math functions To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16 pkgsrc/games/exchess/distinfo cvs rdiff -u -r0 -r1.1 pkgsrc/games/exchess/patches/patch-src_smp.cpp Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1650894795108670 Content-Disposition: inline Content-Length: 1476 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/games/exchess/distinfo diff -u pkgsrc/games/exchess/distinfo:1.15 pkgsrc/games/exchess/distinfo:1.16 --- pkgsrc/games/exchess/distinfo:1.15 Tue Oct 26 10:43:56 2021 +++ pkgsrc/games/exchess/distinfo Mon Apr 25 13:53:15 2022 @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.15 2021/10/26 10:43:56 nia Exp $ +$NetBSD: distinfo,v 1.16 2022/04/25 13:53:15 tnn Exp $ BLAKE2s (EXchess_v7.97beta.zip) = 52928b5eee629915db502864ecce875e5a0b03d1c1c22aec8f51d3e57065e543 SHA512 (EXchess_v7.97beta.zip) = 33e909bf2f39996e579c16ba2752f6d8d1c0d3c7e788c95be7fa8bc8b8ef67d3792693b28d3f73e52fb3f45bffbc5c9ccb0cf7a5fb27f70bb154de7e93f7df86 Size (EXchess_v7.97beta.zip) = 1759660 bytes +SHA1 (patch-src_smp.cpp) = cf2894493295ec16b1ae3620d3b26cbc520100ca Added files: Index: pkgsrc/games/exchess/patches/patch-src_smp.cpp diff -u /dev/null pkgsrc/games/exchess/patches/patch-src_smp.cpp:1.1 --- /dev/null Mon Apr 25 13:53:15 2022 +++ pkgsrc/games/exchess/patches/patch-src_smp.cpp Mon Apr 25 13:53:15 2022 @@ -0,0 +1,15 @@ +$NetBSD: patch-src_smp.cpp,v 1.1 2022/04/25 13:53:15 tnn Exp $ + +Explicitly use std::sqrt, avoids ambiguous reference on SunOS. + +--- src/smp.cpp.orig 2017-02-04 14:23:32.000000000 +0000 ++++ src/smp.cpp +@@ -14,6 +14,8 @@ + #include "chess.h" + #include "search.h" + ++using std::sqrt; ++ + //----------------------------------------------- + // Global variables to control SMP search + //----------------------------------------------- --_----------=_1650894795108670--