Re-export all patches with a single git-format-patch
The original series order is not preserved, it now matches the
patch-queue/master branch.
Yann Dirson
2 years ago
0 | 0 | libosl (0.8.0-4) UNRELEASED; urgency=medium |
1 | 1 | |
2 | 2 | * Add graphviz to build-depends for proper doxygen generation. |
3 | * Re-export all patches with a single git-format-patch. | |
3 | 4 | |
4 | 5 | -- Yann Dirson <dirson@debian.org> Wed, 17 Nov 2021 18:32:16 +0100 |
5 | 6 |
0 | From 393d80183d91f8b6b4e939a18ef2fdadd75fa45e Mon Sep 17 00:00:00 2001 | |
0 | 1 | From: Daigo Moriwaki <daigo@debian.org> |
1 | 2 | Date: Sun, 4 Dec 2016 11:14:57 +0900 |
2 | Subject: Cutomize CMakeLists.txt | |
3 | Subject: [PATCH 01/11] Cutomize CMakeLists.txt | |
3 | 4 | |
4 | 5 | --- |
5 | 6 | CMakeLists.txt | 35 +++++++++++++++++++++++++++++++---- |
87 | 88 | + FILES_MATCHING PATTERN "*.h" PATTERN "*.tcc") |
88 | 89 | + |
89 | 90 | + |
91 | -- | |
92 | 2.33.0 | |
93 |
0 | From b0db5e3bbf90acfa4f7062088070903cc5f24526 Mon Sep 17 00:00:00 2001 | |
1 | From: Yann Dirson <ydirson@free.fr> | |
2 | Date: Fri, 10 Jul 2020 23:45:58 +0200 | |
3 | Subject: [PATCH] Explicitly link with relevant boost libraries | |
4 | ||
5 | --- | |
6 | CMakeLists.txt | 10 ++++++++-- | |
7 | 1 file changed, 8 insertions(+), 2 deletions(-) | |
8 | ||
9 | diff --git a/CMakeLists.txt b/CMakeLists.txt | |
10 | index bd9033c..12d5312 100644 | |
11 | --- a/CMakeLists.txt | |
12 | +++ b/CMakeLists.txt | |
13 | @@ -85,9 +85,9 @@ include_directories ("${PROJECT_SOURCE_DIR}/full") | |
14 | #set (Boost_USE_STATIC_LIBS ON) | |
15 | set (Boost_USE_MULTITHREADED ON) | |
16 | if (MINGW) | |
17 | - find_package (Boost 1.54.0) | |
18 | + find_package (Boost 1.54.0 COMPONENTS date_time filesystem serialization iostreams system) | |
19 | else() | |
20 | - find_package (Boost) | |
21 | + find_package (Boost COMPONENTS date_time filesystem serialization iostreams system) | |
22 | endif() | |
23 | if (Boost_FOUND) | |
24 | include_directories (${Boost_INCLUDE_DIRS}) | |
25 | @@ -115,6 +115,12 @@ if (${CMAKE_SYSTEM_NAME} MATCHES "Linux") | |
26 | set_target_properties(osl PROPERTIES | |
27 | VERSION 1.0.0 | |
28 | SOVERSION 1) | |
29 | + target_link_libraries (osl ${Boost_DATE_TIME_LIBRARY}) | |
30 | + target_link_libraries (osl ${Boost_FILESYSTEM_LIBRARY}) | |
31 | + target_link_libraries (osl ${Boost_SERIALIZATION_LIBRARY}) | |
32 | + target_link_libraries (osl ${Boost_IOSTREAMS_LIBRARY}) | |
33 | + target_link_libraries (osl ${Boost_SYSTEM_LIBRARY}) | |
34 | + target_link_libraries (osl pthread) | |
35 | endif() | |
36 | ||
37 | install(TARGETS osl osl-static | |
38 | -- | |
39 | 2.20.1 | |
40 |
0 | From abd10de8209dfcd7738b0ee7e926f630bc3a6111 Mon Sep 17 00:00:00 2001 | |
1 | From: Yann Dirson <ydirson@free.fr> | |
2 | Date: Wed, 8 Jul 2020 00:35:41 +0200 | |
3 | Subject: [PATCH] Fix build with boost 1.67 | |
4 | ||
5 | --- | |
6 | full/osl/game_playing/weightTracer.cc | 2 +- | |
7 | 1 file changed, 1 insertion(+), 1 deletion(-) | |
8 | ||
9 | diff --git a/full/osl/game_playing/weightTracer.cc b/full/osl/game_playing/weightTracer.cc | |
10 | index feb0c79..83c689e 100644 | |
11 | --- a/full/osl/game_playing/weightTracer.cc | |
12 | +++ b/full/osl/game_playing/weightTracer.cc | |
13 | @@ -5,7 +5,7 @@ | |
14 | #include "osl/book/openingBook.h" | |
15 | #include "osl/csa.h" | |
16 | #include "osl/random.h" | |
17 | -#include <boost/utility.hpp> | |
18 | +#include <boost/next_prior.hpp> | |
19 | #include <iostream> | |
20 | #include <ctime> | |
21 | #ifdef _WIN32 | |
22 | -- | |
23 | 2.20.1 | |
24 |
0 | From e9714efc786be9ea744ab3066ddda39481ce295b Mon Sep 17 00:00:00 2001 | |
1 | From: Yann Dirson <ydirson@free.fr> | |
2 | Date: Sat, 11 Jul 2020 00:23:37 +0200 | |
3 | Subject: [PATCH] Fix 'unkown' typo | |
4 | ||
5 | --- | |
6 | core/osl/basic_type.cc | 2 +- | |
7 | full/osl/search/threatmateState.cc | 2 +- | |
8 | full/osl/search/usiProxy.cc | 2 +- | |
9 | sample/checkmate/dfpnstat.cc | 8 ++++---- | |
10 | sample/checkmate/fixed-checkmate.cc | 6 +++--- | |
11 | sample/checkmate/fixed-checkmate2.cc | 6 +++--- | |
12 | 6 files changed, 13 insertions(+), 13 deletions(-) | |
13 | ||
14 | diff --git a/core/osl/basic_type.cc b/core/osl/basic_type.cc | |
15 | index b64351d..c87440f 100644 | |
16 | --- a/core/osl/basic_type.cc | |
17 | +++ b/core/osl/basic_type.cc | |
18 | @@ -224,7 +224,7 @@ std::ostream& osl::operator<<(std::ostream& os,const Piece piece) | |
19 | else if (piece == Piece::EDGE()) | |
20 | os << "PIECE_EDGE"; | |
21 | else | |
22 | - os << "unkown piece?!"; | |
23 | + os << "unknown piece?!"; | |
24 | return os; | |
25 | } | |
26 | ||
27 | diff --git a/full/osl/search/threatmateState.cc b/full/osl/search/threatmateState.cc | |
28 | index 7cab162..883af28 100644 | |
29 | --- a/full/osl/search/threatmateState.cc | |
30 | +++ b/full/osl/search/threatmateState.cc | |
31 | @@ -27,7 +27,7 @@ std::ostream& osl::search::operator<<(std::ostream& os, ThreatmateState s) | |
32 | case ThreatmateState::CHECK_AFTER_THREATMATE: | |
33 | return os << "check after threatmate"; | |
34 | default: | |
35 | - return os << "unkown"; | |
36 | + return os << "unknown"; | |
37 | } | |
38 | } | |
39 | #endif | |
40 | diff --git a/full/osl/search/usiProxy.cc b/full/osl/search/usiProxy.cc | |
41 | index e21ae2f..6f9cdfb 100644 | |
42 | --- a/full/osl/search/usiProxy.cc | |
43 | +++ b/full/osl/search/usiProxy.cc | |
44 | @@ -309,7 +309,7 @@ computeBestMoveIteratively(int limit, int step, | |
45 | std::vector<std::string> elements; | |
46 | boost::algorithm::split(elements, line, boost::algorithm::is_any_of(" ")); | |
47 | if (elements.size() < 2 || elements[0] != "bestmove") | |
48 | - throw std::logic_error("^unkown usi bestmove "+line); | |
49 | + throw std::logic_error("^unknown usi bestmove "+line); | |
50 | Move best_move = usi::strToMove(elements[1], state); | |
51 | if (root_ignore_moves && root_ignore_moves->isMember(best_move)) | |
52 | return Move(); | |
53 | diff --git a/sample/checkmate/dfpnstat.cc b/sample/checkmate/dfpnstat.cc | |
54 | index 2cf71ad..babe6bb 100644 | |
55 | --- a/sample/checkmate/dfpnstat.cc | |
56 | +++ b/sample/checkmate/dfpnstat.cc | |
57 | @@ -28,7 +28,7 @@ bool verbose=false; | |
58 | unsigned long long total_cycles=0; | |
59 | bool show_escape_filename = false; | |
60 | bool force_attack = false; | |
61 | -int num_checkmate=0, num_nocheckmate=0, num_escape=0, num_unkown=0; | |
62 | +int num_checkmate=0, num_nocheckmate=0, num_escape=0, num_unknown=0; | |
63 | double total_nodes=0, total_tables=0; | |
64 | int limit = 100000; | |
65 | bool blocking_verify = true; | |
66 | @@ -113,7 +113,7 @@ int main(int argc, char **argv) | |
67 | total_cycles = 0; | |
68 | } | |
69 | std::cerr << "check " << num_checkmate << " nocheckmate " << num_nocheckmate << " escape " << num_escape | |
70 | - << " unknown " << num_unkown << "\n"; | |
71 | + << " unknown " << num_unknown << "\n"; | |
72 | std::cerr << "total nodes " << total_nodes | |
73 | << " tables " << total_tables << "\n"; | |
74 | } | |
75 | @@ -193,7 +193,7 @@ void testWinOrLose(const char *filename, | |
76 | ++num_escape; | |
77 | else { | |
78 | assert(! result.isFinal()); | |
79 | - ++num_unkown; | |
80 | + ++num_unknown; | |
81 | } | |
82 | } | |
83 | return; | |
84 | @@ -234,7 +234,7 @@ void testWinOrLose(const char *filename, | |
85 | if (result.isFinal()) | |
86 | ++num_nocheckmate; | |
87 | else | |
88 | - ++num_unkown; | |
89 | + ++num_unknown; | |
90 | if (debug) | |
91 | searcher.analyze(path, state, moves); | |
92 | } | |
93 | diff --git a/sample/checkmate/fixed-checkmate.cc b/sample/checkmate/fixed-checkmate.cc | |
94 | index 55df482..156bbec 100644 | |
95 | --- a/sample/checkmate/fixed-checkmate.cc | |
96 | +++ b/sample/checkmate/fixed-checkmate.cc | |
97 | @@ -22,7 +22,7 @@ void usage(const char *prog) | |
98 | } | |
99 | ||
100 | bool verbose=false; | |
101 | -int num_checkmate=0, num_escape=0, num_unkown=0; | |
102 | +int num_checkmate=0, num_escape=0, num_unknown=0; | |
103 | ||
104 | void search(int depth, const char *filename); | |
105 | ||
106 | @@ -60,7 +60,7 @@ int main(int argc, char **argv) | |
107 | search(depth, argv[i]); | |
108 | } | |
109 | std::cerr << "check " << num_checkmate << " escape " << num_escape | |
110 | - << " unknown " << num_unkown << "\n"; | |
111 | + << " unknown " << num_unknown << "\n"; | |
112 | } | |
113 | catch (std::exception& e) | |
114 | { | |
115 | @@ -94,7 +94,7 @@ void search(int depth, const char *filename) | |
116 | } | |
117 | else | |
118 | { | |
119 | - ++num_unkown; | |
120 | + ++num_unknown; | |
121 | std::cerr << "unknown " << pdp << "\n"; | |
122 | } | |
123 | ||
124 | diff --git a/sample/checkmate/fixed-checkmate2.cc b/sample/checkmate/fixed-checkmate2.cc | |
125 | index 38332ff..5c321f2 100644 | |
126 | --- a/sample/checkmate/fixed-checkmate2.cc | |
127 | +++ b/sample/checkmate/fixed-checkmate2.cc | |
128 | @@ -22,7 +22,7 @@ void usage(const char *prog) | |
129 | } | |
130 | ||
131 | bool verbose=false; | |
132 | -int num_checkmate=0, num_escape=0, num_unkown=0; | |
133 | +int num_checkmate=0, num_escape=0, num_unknown=0; | |
134 | ||
135 | void search(int depth, const char *filename); | |
136 | ||
137 | @@ -60,7 +60,7 @@ int main(int argc, char **argv) | |
138 | search(depth, argv[i]); | |
139 | } | |
140 | std::cerr << "check " << num_checkmate << " escape " << num_escape | |
141 | - << " unknown " << num_unkown << "\n"; | |
142 | + << " unknown " << num_unknown << "\n"; | |
143 | } | |
144 | catch (std::exception& e) | |
145 | { | |
146 | @@ -94,7 +94,7 @@ void search(int depth, const char *filename) | |
147 | } | |
148 | else | |
149 | { | |
150 | - ++num_unkown; | |
151 | + ++num_unknown; | |
152 | std::cerr << "unknown " << pdp << "\n"; | |
153 | } | |
154 | ||
155 | -- | |
156 | 2.20.1 | |
157 |
0 | From ff01c3e1a9db413b1f6a4a7d6fdc6f322f5e0723 Mon Sep 17 00:00:00 2001 | |
1 | From: Yann Dirson <ydirson@free.fr> | |
2 | Date: Tue, 7 Jul 2020 19:30:13 +0200 | |
3 | Subject: [PATCH] Import svn r4566 | |
4 | ||
5 | --- | |
6 | public-domain/hirate.csa | 10 ++++++++++ | |
7 | 1 file changed, 10 insertions(+) | |
8 | create mode 100644 public-domain/hirate.csa | |
9 | ||
10 | diff --git a/public-domain/hirate.csa b/public-domain/hirate.csa | |
11 | new file mode 100644 | |
12 | index 0000000..41ef646 | |
13 | --- /dev/null | |
14 | +++ b/public-domain/hirate.csa | |
15 | @@ -0,0 +1,10 @@ | |
16 | +P1-KY-KE-GI-KI-OU-KI-GI-KE-KY | |
17 | +P2 * -HI * * * * * -KA * | |
18 | +P3-FU-FU-FU-FU-FU-FU-FU-FU-FU | |
19 | +P4 * * * * * * * * * | |
20 | +P5 * * * * * * * * * | |
21 | +P6 * * * * * * * * * | |
22 | +P7+FU+FU+FU+FU+FU+FU+FU+FU+FU | |
23 | +P8 * +KA * * * * * +HI * | |
24 | +P9+KY+KE+GI+KI+OU+KI+GI+KE+KY | |
25 | ++ | |
26 | -- | |
27 | 2.20.1 | |
28 |
0 | From d4626f1d75781b6f48e1fc49ed9f3d8acdc7c1c0 Mon Sep 17 00:00:00 2001 | |
0 | 1 | From: Daigo Moriwaki <daigo@debian.org> |
1 | 2 | Date: Sun, 4 Dec 2016 11:15:38 +0900 |
2 | Subject: Fix compiler warnings | |
3 | Subject: [PATCH 02/11] Fix compiler warnings | |
3 | 4 | |
4 | 5 | --- |
5 | 6 | core/osl/basic_type.h | 2 +- |
75 | 76 | |
76 | 77 | // ;;; Local Variables: |
77 | 78 | // ;;; mode:c++ |
79 | -- | |
80 | 2.33.0 | |
81 |
0 | From 60620572dcfca3082e54fe4b118b627fff9d637a Mon Sep 17 00:00:00 2001 | |
0 | 1 | From: Daigo Moriwaki <daigo@debian.org> |
1 | 2 | Date: Sun, 4 Dec 2016 15:03:14 +0900 |
2 | Subject: Customize makefile.conf | |
3 | Subject: [PATCH 03/11] Customize makefile.conf | |
3 | 4 | |
4 | 5 | --- |
5 | makefile.conf | 14 +++++++------- | |
6 | 1 file changed, 7 insertions(+), 7 deletions(-) | |
6 | makefile.conf | 18 +++++++++--------- | |
7 | 1 file changed, 9 insertions(+), 9 deletions(-) | |
7 | 8 | |
9 | diff --git a/makefile.conf b/makefile.conf | |
10 | index ed43a2404..f773de8e4 100644 | |
8 | 11 | --- a/makefile.conf |
9 | 12 | +++ b/makefile.conf |
10 | 13 | @@ -1,22 +1,22 @@ |
39 | 42 | |
40 | 43 | PROFILE_USE = -fprofile-use -fprofile-correction |
41 | 44 | PROFILE_GENERATE = -fprofile-generate |
45 | -- | |
46 | 2.33.0 | |
47 |
0 | From 53d747401de482e2b6421a68c298b0bb24847213 Mon Sep 17 00:00:00 2001 | |
0 | 1 | From: Daigo Moriwaki <daigo@debian.org> |
1 | 2 | Date: Mon, 5 Dec 2016 22:03:43 +0900 |
2 | Subject: Customize OSL_HOME | |
3 | Subject: [PATCH 04/11] Customize OSL_HOME | |
3 | 4 | |
4 | 5 | --- |
5 | 6 | CMakeLists.txt | 2 +- |
18 | 19 | endif() |
19 | 20 | |
20 | 21 | include_directories ("${PROJECT_SOURCE_DIR}/core") |
22 | -- | |
23 | 2.33.0 | |
24 |
0 | From 858e9bb72b7772e6b0e1aed6c2a7eb94a627da00 Mon Sep 17 00:00:00 2001 | |
0 | 1 | From: Daigo Moriwaki <daigo@debian.org> |
1 | 2 | Date: Mon, 2 Jan 2017 10:25:05 +0900 |
2 | Subject: Generate documents with minimum dependencies | |
3 | Subject: [PATCH 05/11] Generate documents with minimum dependencies | |
3 | 4 | |
4 | 5 | --- |
5 | 6 | doc/Doxyfile | 8 ++++---- |
45 | 46 | |
46 | 47 | # The CGI_NAME tag should be the name of the CGI script that |
47 | 48 | # starts the search engine (doxysearch) with the correct parameters. |
49 | -- | |
50 | 2.33.0 | |
51 |
0 | From 64c82f85ef1e2bf8855faff8c22a131a3552149b Mon Sep 17 00:00:00 2001 | |
1 | From: Andreas Beckmann <anbe@debian.org> | |
2 | Date: Tue, 7 Jul 2020 20:41:41 +0200 | |
3 | Subject: [PATCH 06/11] detect-sse | |
4 | ||
5 | --- | |
6 | core/osl/config.h | 6 ++++++ | |
7 | 1 file changed, 6 insertions(+) | |
8 | ||
9 | diff --git a/core/osl/config.h b/core/osl/config.h | |
10 | index 53b1d9c0f..1c02dbe72 100644 | |
11 | --- a/core/osl/config.h | |
12 | +++ b/core/osl/config.h | |
13 | @@ -31,4 +31,10 @@ | |
14 | #define OSL_NO_SSE 1 | |
15 | #endif | |
16 | ||
17 | +#ifndef __SSE__ | |
18 | +# ifndef OSL_NO_SSE | |
19 | +# define OSL_NO_SSE 1 | |
20 | +# endif | |
21 | +#endif | |
22 | + | |
23 | #endif /* _OSL_CONFIG_H */ | |
24 | -- | |
25 | 2.33.0 | |
26 |
0 | From bb4d395d586f2fbd21382ecb22d37a6362a92ce3 Mon Sep 17 00:00:00 2001 | |
1 | From: Yann Dirson <ydirson@free.fr> | |
2 | Date: Tue, 7 Jul 2020 19:30:13 +0200 | |
3 | Subject: [PATCH 07/11] Import svn r4566 content not in orig tarball | |
4 | ||
5 | --- | |
6 | public-domain/hirate.csa | 10 ++++++++++ | |
7 | 1 file changed, 10 insertions(+) | |
8 | create mode 100644 public-domain/hirate.csa | |
9 | ||
10 | diff --git a/public-domain/hirate.csa b/public-domain/hirate.csa | |
11 | new file mode 100644 | |
12 | index 000000000..41ef6468c | |
13 | --- /dev/null | |
14 | +++ b/public-domain/hirate.csa | |
15 | @@ -0,0 +1,10 @@ | |
16 | +P1-KY-KE-GI-KI-OU-KI-GI-KE-KY | |
17 | +P2 * -HI * * * * * -KA * | |
18 | +P3-FU-FU-FU-FU-FU-FU-FU-FU-FU | |
19 | +P4 * * * * * * * * * | |
20 | +P5 * * * * * * * * * | |
21 | +P6 * * * * * * * * * | |
22 | +P7+FU+FU+FU+FU+FU+FU+FU+FU+FU | |
23 | +P8 * +KA * * * * * +HI * | |
24 | +P9+KY+KE+GI+KI+OU+KI+GI+KE+KY | |
25 | ++ | |
26 | -- | |
27 | 2.33.0 | |
28 |
0 | From 57854d5813cc5b233b1183ca9d2a5d2938ff814f Mon Sep 17 00:00:00 2001 | |
1 | From: Yann Dirson <ydirson@free.fr> | |
2 | Date: Wed, 8 Jul 2020 00:35:41 +0200 | |
3 | Subject: [PATCH 08/11] Fix build with boost 1.67 | |
4 | ||
5 | --- | |
6 | full/osl/game_playing/weightTracer.cc | 2 +- | |
7 | 1 file changed, 1 insertion(+), 1 deletion(-) | |
8 | ||
9 | diff --git a/full/osl/game_playing/weightTracer.cc b/full/osl/game_playing/weightTracer.cc | |
10 | index feb0c79ac..83c689e6d 100644 | |
11 | --- a/full/osl/game_playing/weightTracer.cc | |
12 | +++ b/full/osl/game_playing/weightTracer.cc | |
13 | @@ -5,7 +5,7 @@ | |
14 | #include "osl/book/openingBook.h" | |
15 | #include "osl/csa.h" | |
16 | #include "osl/random.h" | |
17 | -#include <boost/utility.hpp> | |
18 | +#include <boost/next_prior.hpp> | |
19 | #include <iostream> | |
20 | #include <ctime> | |
21 | #ifdef _WIN32 | |
22 | -- | |
23 | 2.33.0 | |
24 |
0 | From 9a7b68ffce6c5d8a90b60a8c489a34816decdebf Mon Sep 17 00:00:00 2001 | |
1 | From: Yann Dirson <ydirson@free.fr> | |
2 | Date: Fri, 10 Jul 2020 23:45:58 +0200 | |
3 | Subject: [PATCH 09/11] Explicitly link with relevant boost libraries | |
4 | ||
5 | --- | |
6 | CMakeLists.txt | 10 ++++++++-- | |
7 | 1 file changed, 8 insertions(+), 2 deletions(-) | |
8 | ||
9 | diff --git a/CMakeLists.txt b/CMakeLists.txt | |
10 | index bd9033c0c..12d5312ee 100644 | |
11 | --- a/CMakeLists.txt | |
12 | +++ b/CMakeLists.txt | |
13 | @@ -85,9 +85,9 @@ include_directories ("${PROJECT_SOURCE_DIR}/full") | |
14 | #set (Boost_USE_STATIC_LIBS ON) | |
15 | set (Boost_USE_MULTITHREADED ON) | |
16 | if (MINGW) | |
17 | - find_package (Boost 1.54.0) | |
18 | + find_package (Boost 1.54.0 COMPONENTS date_time filesystem serialization iostreams system) | |
19 | else() | |
20 | - find_package (Boost) | |
21 | + find_package (Boost COMPONENTS date_time filesystem serialization iostreams system) | |
22 | endif() | |
23 | if (Boost_FOUND) | |
24 | include_directories (${Boost_INCLUDE_DIRS}) | |
25 | @@ -115,6 +115,12 @@ if (${CMAKE_SYSTEM_NAME} MATCHES "Linux") | |
26 | set_target_properties(osl PROPERTIES | |
27 | VERSION 1.0.0 | |
28 | SOVERSION 1) | |
29 | + target_link_libraries (osl ${Boost_DATE_TIME_LIBRARY}) | |
30 | + target_link_libraries (osl ${Boost_FILESYSTEM_LIBRARY}) | |
31 | + target_link_libraries (osl ${Boost_SERIALIZATION_LIBRARY}) | |
32 | + target_link_libraries (osl ${Boost_IOSTREAMS_LIBRARY}) | |
33 | + target_link_libraries (osl ${Boost_SYSTEM_LIBRARY}) | |
34 | + target_link_libraries (osl pthread) | |
35 | endif() | |
36 | ||
37 | install(TARGETS osl osl-static | |
38 | -- | |
39 | 2.33.0 | |
40 |
0 | From 1aa74e9723040dd3dec432e6343552f30271e646 Mon Sep 17 00:00:00 2001 | |
1 | From: Yann Dirson <ydirson@free.fr> | |
2 | Date: Sat, 11 Jul 2020 00:23:37 +0200 | |
3 | Subject: [PATCH 10/11] Fix 'unkown' typo | |
4 | ||
5 | --- | |
6 | core/osl/basic_type.cc | 2 +- | |
7 | full/osl/search/threatmateState.cc | 2 +- | |
8 | full/osl/search/usiProxy.cc | 2 +- | |
9 | sample/checkmate/dfpnstat.cc | 8 ++++---- | |
10 | sample/checkmate/fixed-checkmate.cc | 6 +++--- | |
11 | sample/checkmate/fixed-checkmate2.cc | 6 +++--- | |
12 | 6 files changed, 13 insertions(+), 13 deletions(-) | |
13 | ||
14 | diff --git a/core/osl/basic_type.cc b/core/osl/basic_type.cc | |
15 | index b64351dea..c87440f76 100644 | |
16 | --- a/core/osl/basic_type.cc | |
17 | +++ b/core/osl/basic_type.cc | |
18 | @@ -224,7 +224,7 @@ std::ostream& osl::operator<<(std::ostream& os,const Piece piece) | |
19 | else if (piece == Piece::EDGE()) | |
20 | os << "PIECE_EDGE"; | |
21 | else | |
22 | - os << "unkown piece?!"; | |
23 | + os << "unknown piece?!"; | |
24 | return os; | |
25 | } | |
26 | ||
27 | diff --git a/full/osl/search/threatmateState.cc b/full/osl/search/threatmateState.cc | |
28 | index 7cab162f6..883af2804 100644 | |
29 | --- a/full/osl/search/threatmateState.cc | |
30 | +++ b/full/osl/search/threatmateState.cc | |
31 | @@ -27,7 +27,7 @@ std::ostream& osl::search::operator<<(std::ostream& os, ThreatmateState s) | |
32 | case ThreatmateState::CHECK_AFTER_THREATMATE: | |
33 | return os << "check after threatmate"; | |
34 | default: | |
35 | - return os << "unkown"; | |
36 | + return os << "unknown"; | |
37 | } | |
38 | } | |
39 | #endif | |
40 | diff --git a/full/osl/search/usiProxy.cc b/full/osl/search/usiProxy.cc | |
41 | index e21ae2f70..6f9cdfb83 100644 | |
42 | --- a/full/osl/search/usiProxy.cc | |
43 | +++ b/full/osl/search/usiProxy.cc | |
44 | @@ -309,7 +309,7 @@ computeBestMoveIteratively(int limit, int step, | |
45 | std::vector<std::string> elements; | |
46 | boost::algorithm::split(elements, line, boost::algorithm::is_any_of(" ")); | |
47 | if (elements.size() < 2 || elements[0] != "bestmove") | |
48 | - throw std::logic_error("^unkown usi bestmove "+line); | |
49 | + throw std::logic_error("^unknown usi bestmove "+line); | |
50 | Move best_move = usi::strToMove(elements[1], state); | |
51 | if (root_ignore_moves && root_ignore_moves->isMember(best_move)) | |
52 | return Move(); | |
53 | diff --git a/sample/checkmate/dfpnstat.cc b/sample/checkmate/dfpnstat.cc | |
54 | index 2cf71adec..babe6bbe0 100644 | |
55 | --- a/sample/checkmate/dfpnstat.cc | |
56 | +++ b/sample/checkmate/dfpnstat.cc | |
57 | @@ -28,7 +28,7 @@ bool verbose=false; | |
58 | unsigned long long total_cycles=0; | |
59 | bool show_escape_filename = false; | |
60 | bool force_attack = false; | |
61 | -int num_checkmate=0, num_nocheckmate=0, num_escape=0, num_unkown=0; | |
62 | +int num_checkmate=0, num_nocheckmate=0, num_escape=0, num_unknown=0; | |
63 | double total_nodes=0, total_tables=0; | |
64 | int limit = 100000; | |
65 | bool blocking_verify = true; | |
66 | @@ -113,7 +113,7 @@ int main(int argc, char **argv) | |
67 | total_cycles = 0; | |
68 | } | |
69 | std::cerr << "check " << num_checkmate << " nocheckmate " << num_nocheckmate << " escape " << num_escape | |
70 | - << " unknown " << num_unkown << "\n"; | |
71 | + << " unknown " << num_unknown << "\n"; | |
72 | std::cerr << "total nodes " << total_nodes | |
73 | << " tables " << total_tables << "\n"; | |
74 | } | |
75 | @@ -193,7 +193,7 @@ void testWinOrLose(const char *filename, | |
76 | ++num_escape; | |
77 | else { | |
78 | assert(! result.isFinal()); | |
79 | - ++num_unkown; | |
80 | + ++num_unknown; | |
81 | } | |
82 | } | |
83 | return; | |
84 | @@ -234,7 +234,7 @@ void testWinOrLose(const char *filename, | |
85 | if (result.isFinal()) | |
86 | ++num_nocheckmate; | |
87 | else | |
88 | - ++num_unkown; | |
89 | + ++num_unknown; | |
90 | if (debug) | |
91 | searcher.analyze(path, state, moves); | |
92 | } | |
93 | diff --git a/sample/checkmate/fixed-checkmate.cc b/sample/checkmate/fixed-checkmate.cc | |
94 | index 55df48265..156bbec38 100644 | |
95 | --- a/sample/checkmate/fixed-checkmate.cc | |
96 | +++ b/sample/checkmate/fixed-checkmate.cc | |
97 | @@ -22,7 +22,7 @@ void usage(const char *prog) | |
98 | } | |
99 | ||
100 | bool verbose=false; | |
101 | -int num_checkmate=0, num_escape=0, num_unkown=0; | |
102 | +int num_checkmate=0, num_escape=0, num_unknown=0; | |
103 | ||
104 | void search(int depth, const char *filename); | |
105 | ||
106 | @@ -60,7 +60,7 @@ int main(int argc, char **argv) | |
107 | search(depth, argv[i]); | |
108 | } | |
109 | std::cerr << "check " << num_checkmate << " escape " << num_escape | |
110 | - << " unknown " << num_unkown << "\n"; | |
111 | + << " unknown " << num_unknown << "\n"; | |
112 | } | |
113 | catch (std::exception& e) | |
114 | { | |
115 | @@ -94,7 +94,7 @@ void search(int depth, const char *filename) | |
116 | } | |
117 | else | |
118 | { | |
119 | - ++num_unkown; | |
120 | + ++num_unknown; | |
121 | std::cerr << "unknown " << pdp << "\n"; | |
122 | } | |
123 | ||
124 | diff --git a/sample/checkmate/fixed-checkmate2.cc b/sample/checkmate/fixed-checkmate2.cc | |
125 | index 38332ff44..5c321f252 100644 | |
126 | --- a/sample/checkmate/fixed-checkmate2.cc | |
127 | +++ b/sample/checkmate/fixed-checkmate2.cc | |
128 | @@ -22,7 +22,7 @@ void usage(const char *prog) | |
129 | } | |
130 | ||
131 | bool verbose=false; | |
132 | -int num_checkmate=0, num_escape=0, num_unkown=0; | |
133 | +int num_checkmate=0, num_escape=0, num_unknown=0; | |
134 | ||
135 | void search(int depth, const char *filename); | |
136 | ||
137 | @@ -60,7 +60,7 @@ int main(int argc, char **argv) | |
138 | search(depth, argv[i]); | |
139 | } | |
140 | std::cerr << "check " << num_checkmate << " escape " << num_escape | |
141 | - << " unknown " << num_unkown << "\n"; | |
142 | + << " unknown " << num_unknown << "\n"; | |
143 | } | |
144 | catch (std::exception& e) | |
145 | { | |
146 | @@ -94,7 +94,7 @@ void search(int depth, const char *filename) | |
147 | } | |
148 | else | |
149 | { | |
150 | - ++num_unkown; | |
151 | + ++num_unknown; | |
152 | std::cerr << "unknown " << pdp << "\n"; | |
153 | } | |
154 | ||
155 | -- | |
156 | 2.33.0 | |
157 |
0 | Author: Andreas Beckmann <anbe@debian.org> | |
1 | Description: disable SSE unless the compiler advertised it | |
2 | ||
3 | --- a/core/osl/config.h | |
4 | +++ b/core/osl/config.h | |
5 | @@ -31,4 +31,10 @@ | |
6 | #define OSL_NO_SSE 1 | |
7 | #endif | |
8 | ||
9 | +#ifndef __SSE__ | |
10 | +# ifndef OSL_NO_SSE | |
11 | +# define OSL_NO_SSE 1 | |
12 | +# endif | |
13 | +#endif | |
14 | + | |
15 | #endif /* _OSL_CONFIG_H */ |
0 | 0001-Import-svn-r4566.patch | |
1 | 0 | 0001-Cutomize-CMakeLists.txt.patch |
2 | 1 | 0002-Fix-compiler-warnings.patch |
3 | 2 | 0003-Customize-makefile.conf.patch |
4 | 3 | 0004-Customize-OSL_HOME.patch |
5 | 4 | 0005-Generate-documents-with-minimum-dependencies.patch |
6 | detect-sse.patch | |
7 | 0001-Fix-build-with-boost-1.67.patch | |
8 | 0001-Explicitly-link-with-relevant-boost-libraries.patch | |
9 | 0001-Fix-unkown-typo.patch | |
5 | 0006-detect-sse.patch | |
6 | 0007-Import-svn-r4566-content-not-in-orig-tarball.patch | |
7 | 0008-Fix-build-with-boost-1.67.patch | |
8 | 0009-Explicitly-link-with-relevant-boost-libraries.patch | |
9 | 0010-Fix-unkown-typo.patch |