pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/games/exchess
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.
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
+ //-----------------------------------------------
Home |
Main Index |
Thread Index |
Old Index