Control: tags 1113099 + patch
Control: tags 1113099 + pending

Dear maintainer,

I've prepared an NMU for leela-zero (versioned as 0.17-1.2) and uploaded 
it to DELAYED/2. Please feel free to tell me if I should cancel it.

cu
Adrian
diffstat for leela-zero-0.17 leela-zero-0.17

 changelog             |    7 +++++++
 patches/cmake-4.patch |   33 +++++++++++++++++++++++++++++++++
 patches/series        |    1 +
 3 files changed, 41 insertions(+)

diff -Nru leela-zero-0.17/debian/changelog leela-zero-0.17/debian/changelog
--- leela-zero-0.17/debian/changelog	2025-08-20 22:41:39.000000000 +0300
+++ leela-zero-0.17/debian/changelog	2025-10-27 18:26:23.000000000 +0200
@@ -1,3 +1,10 @@
+leela-zero (0.17-1.2) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTBFS with CMake 4. (Closes: #1113099)
+
+ -- Adrian Bunk <[email protected]>  Mon, 27 Oct 2025 18:26:23 +0200
+
 leela-zero (0.17-1.1) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru leela-zero-0.17/debian/patches/cmake-4.patch leela-zero-0.17/debian/patches/cmake-4.patch
--- leela-zero-0.17/debian/patches/cmake-4.patch	1970-01-01 02:00:00.000000000 +0200
+++ leela-zero-0.17/debian/patches/cmake-4.patch	2025-10-27 18:26:23.000000000 +0200
@@ -0,0 +1,33 @@
+Description: Fix FTBFS with CMake 4
+Author: Adrian Bunk <[email protected]>
+Bug-Debian: https://bugs.debian.org/1113099
+
+--- leela-zero-0.17.orig/CMakeLists.txt
++++ leela-zero-0.17/CMakeLists.txt
+@@ -12,7 +12,7 @@
+ # You should have received a copy of the GNU General Public License
+ # along with Leela Zero.  If not, see <http://www.gnu.org/licenses/>.
+ 
+-cmake_minimum_required(VERSION 3.1)
++cmake_minimum_required(VERSION 3.5)
+ 
+ set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/Modules/")
+ include(GNUInstallDirs)
+--- leela-zero-0.17.orig/autogtp/CMakeLists.txt
++++ leela-zero-0.17/autogtp/CMakeLists.txt
+@@ -1,5 +1,5 @@
+ 
+-cmake_minimum_required(VERSION 3.1)
++cmake_minimum_required(VERSION 3.5)
+ 
+ add_executable(autogtp
+ 	Game.h Order.h Management.h Worker.h Job.h Result.h Console.h
+--- leela-zero-0.17.orig/validation/CMakeLists.txt
++++ leela-zero-0.17/validation/CMakeLists.txt
+@@ -1,5 +1,5 @@
+ 
+-cmake_minimum_required(VERSION 3.1)
++cmake_minimum_required(VERSION 3.5)
+ 
+ add_executable(validation
+         main.cpp ../autogtp/Game.cpp SPRT.cpp Validation.cpp Results.cpp
diff -Nru leela-zero-0.17/debian/patches/series leela-zero-0.17/debian/patches/series
--- leela-zero-0.17/debian/patches/series	2019-08-19 13:12:22.000000000 +0300
+++ leela-zero-0.17/debian/patches/series	2025-10-27 18:26:23.000000000 +0200
@@ -1,2 +1,3 @@
 default-bin-path.patch
 find-eigen3.patch
+cmake-4.patch

Reply via email to