Control: tags 1097388 + patch Control: tags 1113283 + patch Control: tags 1113283 + pending
Dear maintainer, I've prepared an NMU for mfgtools (versioned as 1.5.201-1.1) and uploaded it to DELAYED/2. Please feel free to tell me if I should cancel it. cu Adrian
diffstat for mfgtools-1.5.201 mfgtools-1.5.201 changelog | 8 ++ patches/0001-libuuu-sdps-fix-gcc15-compile-errors.patch | 31 +++++++++++ patches/0002-build-support-cmake-4.0.patch | 45 ++++++++++++++++ patches/series | 2 4 files changed, 86 insertions(+) diff -Nru mfgtools-1.5.201/debian/changelog mfgtools-1.5.201/debian/changelog --- mfgtools-1.5.201/debian/changelog 2025-01-12 19:53:28.000000000 +0200 +++ mfgtools-1.5.201/debian/changelog 2025-10-09 17:23:25.000000000 +0300 @@ -1,3 +1,11 @@ +mfgtools (1.5.201-1.1) unstable; urgency=medium + + * Non-maintainer upload. + * Backport upstream fix for FTBFS with GCC 15. (Closes: #1097388) + * Backport upstream fix for FTBFS with CMake 4. (Closes: #1113283) + + -- Adrian Bunk <[email protected]> Thu, 09 Oct 2025 17:23:25 +0300 + mfgtools (1.5.201-1) unstable; urgency=medium * New upstream release. diff -Nru mfgtools-1.5.201/debian/patches/0001-libuuu-sdps-fix-gcc15-compile-errors.patch mfgtools-1.5.201/debian/patches/0001-libuuu-sdps-fix-gcc15-compile-errors.patch --- mfgtools-1.5.201/debian/patches/0001-libuuu-sdps-fix-gcc15-compile-errors.patch 1970-01-01 02:00:00.000000000 +0200 +++ mfgtools-1.5.201/debian/patches/0001-libuuu-sdps-fix-gcc15-compile-errors.patch 2025-10-09 17:23:11.000000000 +0300 @@ -0,0 +1,31 @@ +From 98a24d7139bc987517e241cf5ca79c2ee28640c0 Mon Sep 17 00:00:00 2001 +From: Bruno Thomsen <[email protected]> +Date: Sat, 1 Mar 2025 14:32:41 +0100 +Subject: libuuu/sdps: fix gcc15 compile errors + +This gcc 15 error happens on Fedora 42. + +error: uint32_t does not name a type + +error: uint64_t does not name a type + +Signed-off-by: Bruno Thomsen <[email protected]> +--- + libuuu/sdps.h | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/libuuu/sdps.h b/libuuu/sdps.h +index b82f9d7..667a477 100644 +--- a/libuuu/sdps.h ++++ b/libuuu/sdps.h +@@ -30,6 +30,7 @@ + */ + + #include "cmd.h" ++#include <cstdint> + + class SDPSCmd : public CmdBase + { +-- +2.30.2 + diff -Nru mfgtools-1.5.201/debian/patches/0002-build-support-cmake-4.0.patch mfgtools-1.5.201/debian/patches/0002-build-support-cmake-4.0.patch --- mfgtools-1.5.201/debian/patches/0002-build-support-cmake-4.0.patch 1970-01-01 02:00:00.000000000 +0200 +++ mfgtools-1.5.201/debian/patches/0002-build-support-cmake-4.0.patch 2025-10-09 17:23:11.000000000 +0300 @@ -0,0 +1,45 @@ +From e3986a879f3cd7bd5fd1fd300e466fdb00f4799d Mon Sep 17 00:00:00 2001 +From: Rui Chen <[email protected]> +Date: Mon, 31 Mar 2025 23:59:26 -0400 +Subject: build: support cmake 4.0 + +Signed-off-by: Rui Chen <[email protected]> +--- + CMakeLists.txt | 2 +- + libuuu/CMakeLists.txt | 2 +- + uuu/CMakeLists.txt | 2 +- + 3 files changed, 3 insertions(+), 3 deletions(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 90a0197..5258890 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -1,4 +1,4 @@ +-cmake_minimum_required(VERSION 3.4) ++cmake_minimum_required(VERSION 3.5) + + project(uuu) + +diff --git a/libuuu/CMakeLists.txt b/libuuu/CMakeLists.txt +index 20a1b0f..8086319 100644 +--- a/libuuu/CMakeLists.txt ++++ b/libuuu/CMakeLists.txt +@@ -1,4 +1,4 @@ +-cmake_minimum_required(VERSION 3.4) ++cmake_minimum_required(VERSION 3.5) + + set(CMAKE_CXX_STANDARD 14) + set(CMAKE_CXX_STANDARD_REQUIRED ON) +diff --git a/uuu/CMakeLists.txt b/uuu/CMakeLists.txt +index 4ed667b..74f903f 100644 +--- a/uuu/CMakeLists.txt ++++ b/uuu/CMakeLists.txt +@@ -1,4 +1,4 @@ +-cmake_minimum_required(VERSION 3.4) ++cmake_minimum_required(VERSION 3.5) + + set(CMAKE_CXX_STANDARD 14) + set(CMAKE_CXX_STANDARD_REQUIRED ON) +-- +2.30.2 + diff -Nru mfgtools-1.5.201/debian/patches/series mfgtools-1.5.201/debian/patches/series --- mfgtools-1.5.201/debian/patches/series 1970-01-01 02:00:00.000000000 +0200 +++ mfgtools-1.5.201/debian/patches/series 2025-10-09 17:23:25.000000000 +0300 @@ -0,0 +1,2 @@ +0001-libuuu-sdps-fix-gcc15-compile-errors.patch +0002-build-support-cmake-4.0.patch

