Bug#1097423: mudita24: diff for NMU version 1.0.3+svn13-7.1
Control: tags 1097423 + patch
Control: tags 1097423 + pending
Control: tags 1113301 + patch
Control: tags 1113301 + pending
Dear maintainer,
I've prepared an NMU for mudita24 (versioned as 1.0.3+svn13-7.1) and
uploaded it to DELAYED/2. Please feel free to tell me if I should
cancel it.
cu
Adrian
diffstat for mudita24-1.0.3+svn13 mudita24-1.0.3+svn13
changelog | 8 ++++++++
patches/cmake-4.patch | 19 +++++++++++++++++++
patches/gcc-15.patch | 19 +++++++++++++++++++
patches/series | 2 ++
4 files changed, 48 insertions(+)
diff -Nru mudita24-1.0.3+svn13/debian/changelog mudita24-1.0.3+svn13/debian/changelog
--- mudita24-1.0.3+svn13/debian/changelog 2020-04-25 19:38:49.000000000 +0300
+++ mudita24-1.0.3+svn13/debian/changelog 2025-10-11 22:05:59.000000000 +0300
@@ -1,3 +1,11 @@
+mudita24 (1.0.3+svn13-7.1) unstable; urgency=medium
+
+ * Non-maintainer upload.
+ * Fix FTBFS with GCC 15. (Closes: #1097423)
+ * Fix FTBFS with CMake 4. (Closes: #1113301)
+
+ -- Adrian Bunk <bunk@debian.org> Sat, 11 Oct 2025 22:05:59 +0300
+
mudita24 (1.0.3+svn13-7) unstable; urgency=medium
[ Debian Janitor ]
diff -Nru mudita24-1.0.3+svn13/debian/patches/cmake-4.patch mudita24-1.0.3+svn13/debian/patches/cmake-4.patch
--- mudita24-1.0.3+svn13/debian/patches/cmake-4.patch 1970-01-01 02:00:00.000000000 +0200
+++ mudita24-1.0.3+svn13/debian/patches/cmake-4.patch 2025-10-11 22:05:59.000000000 +0300
@@ -0,0 +1,19 @@
+Description: Fix FTBFS with CMake 4
+Author: Adrian Bunk <bunk@debian.org>
+Bug-Debian: https://bugs.debian.org/1113301
+
+--- mudita24-1.0.3+svn13.orig/CMakeLists.txt
++++ mudita24-1.0.3+svn13/CMakeLists.txt
+@@ -1,11 +1,7 @@
+ include(FindPkgConfig)
+
+ project(mudita24)
+-CMAKE_MINIMUM_REQUIRED(VERSION 2.6.2)
+-#if (COMMAND cmake_policy)
+- #cmake_policy(SET CMP0003 NEW)
+- #cmake_policy(SET CMP0011 NEW)
+-#endif(COMMAND cmake_policy)
++CMAKE_MINIMUM_REQUIRED(VERSION 3.5)
+
+ IF(NOT DEFINED SHARE_INSTALL_PREFIX)
+ SET(SHARE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}/share")
diff -Nru mudita24-1.0.3+svn13/debian/patches/gcc-15.patch mudita24-1.0.3+svn13/debian/patches/gcc-15.patch
--- mudita24-1.0.3+svn13/debian/patches/gcc-15.patch 1970-01-01 02:00:00.000000000 +0200
+++ mudita24-1.0.3+svn13/debian/patches/gcc-15.patch 2025-10-11 22:05:59.000000000 +0300
@@ -0,0 +1,19 @@
+Description: Fix FTBFS with GCC 15
+Author: Adrian Bunk <bunk@debian.org>
+Bug-Debian: https://bugs.debian.org/1097423
+
+--- mudita24-1.0.3+svn13.orig/new_process.c
++++ mudita24-1.0.3+svn13/new_process.c
+@@ -20,9 +20,9 @@ int new_process(char * const cmd_line[MA
+ struct stat file_status;
+
+ /* memory for storage of function pointers from the signal handling routines */
+- void (*int_stat)();
+- void (*quit_stat)();
+- void (*usr2_stat)();
++ void (*int_stat)(int);
++ void (*quit_stat)(int);
++ void (*usr2_stat)(int);
+
+ /*
+ * check command file
diff -Nru mudita24-1.0.3+svn13/debian/patches/series mudita24-1.0.3+svn13/debian/patches/series
--- mudita24-1.0.3+svn13/debian/patches/series 2020-04-25 19:38:49.000000000 +0300
+++ mudita24-1.0.3+svn13/debian/patches/series 2025-10-11 22:05:59.000000000 +0300
@@ -1,2 +1,4 @@
0001-manpage.patch
1001-fix_envy24control_poll.patch
+gcc-15.patch
+cmake-4.patch
Reply to: