Control: tags 1113255 + patch Control: tags 1113255 + pending Dear maintainer,
I've prepared an NMU for lugaru (versioned as 1.2-7.1) and uploaded it to DELAYED/2. Please feel free to tell me if I should cancel it. cu Adrian
diffstat for lugaru-1.2 lugaru-1.2 changelog | 7 ++++ patches/0001-Revert-Set-CMP0004-policy-to-OLD.patch | 30 ++++++++++++++++++++ patches/series | 1 3 files changed, 38 insertions(+) diff -Nru lugaru-1.2/debian/changelog lugaru-1.2/debian/changelog --- lugaru-1.2/debian/changelog 2025-02-08 19:16:04.000000000 +0200 +++ lugaru-1.2/debian/changelog 2025-11-29 09:34:00.000000000 +0200 @@ -1,3 +1,10 @@ +lugaru (1.2-7.1) unstable; urgency=medium + + * Non-maintainer upload. + * Backport upstream fix for FTBFS with CMake 4. (Closes: #1113255) + + -- Adrian Bunk <[email protected]> Sat, 29 Nov 2025 09:34:00 +0200 + lugaru (1.2-7) unstable; urgency=medium * Team Upload diff -Nru lugaru-1.2/debian/patches/0001-Revert-Set-CMP0004-policy-to-OLD.patch lugaru-1.2/debian/patches/0001-Revert-Set-CMP0004-policy-to-OLD.patch --- lugaru-1.2/debian/patches/0001-Revert-Set-CMP0004-policy-to-OLD.patch 1970-01-01 02:00:00.000000000 +0200 +++ lugaru-1.2/debian/patches/0001-Revert-Set-CMP0004-policy-to-OLD.patch 2025-11-29 09:33:33.000000000 +0200 @@ -0,0 +1,30 @@ +From e2af3b0b8a2f8328d8322dd3ccea65b23563b009 Mon Sep 17 00:00:00 2001 +From: Rémi Verschelde <[email protected]> +Date: Sat, 7 Jul 2018 11:52:28 +0200 +Subject: Revert "Set CMP0004 policy to OLD" + +This reverts commit b461f4a69c17073d5c576d24e48b1b59c0d3c932. +The workaround is no longer needed with SDL 2.0.5+, which is shipped +in all distros we support (including Debian Stable and RHEL 7). + +Fixes #99. +--- + CMakeLists.txt | 3 +-- + 1 file changed, 1 insertion(+), 2 deletions(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 01f29c2..38b1609 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -1,7 +1,6 @@ + project(lugaru) + +-cmake_minimum_required(VERSION 3.0) +-cmake_policy(SET CMP0004 OLD) ++cmake_minimum_required(VERSION 3.5) + + include(FindPkgConfig) + include(GNUInstallDirs) +-- +2.30.2 + diff -Nru lugaru-1.2/debian/patches/series lugaru-1.2/debian/patches/series --- lugaru-1.2/debian/patches/series 2025-02-08 19:15:12.000000000 +0200 +++ lugaru-1.2/debian/patches/series 2025-11-29 09:33:55.000000000 +0200 @@ -1,3 +1,4 @@ fix_alc_cleanup install_appdata_in_metainfo Fix-mismatched-usage-length-build-fail-on-g.patch +0001-Revert-Set-CMP0004-policy-to-OLD.patch

