diffstat for drbd-utils-9.22.0 drbd-utils-9.22.0

 changelog            |    7 +++++++
 patches/gcc-15.patch |   15 +++++++++++++++
 patches/series       |    1 +
 3 files changed, 23 insertions(+)

diff -Nru drbd-utils-9.22.0/debian/changelog drbd-utils-9.22.0/debian/changelog
--- drbd-utils-9.22.0/debian/changelog	2024-07-17 20:22:06.000000000 +0300
+++ drbd-utils-9.22.0/debian/changelog	2025-09-22 15:22:53.000000000 +0300
@@ -1,3 +1,10 @@
+drbd-utils (9.22.0-1.2) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Backport upstream fix for FTBFS with GCC 15. (Closes: #1096546)
+
+ -- Adrian Bunk <bunk@debian.org>  Mon, 22 Sep 2025 15:22:53 +0300
+
 drbd-utils (9.22.0-1.1) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru drbd-utils-9.22.0/debian/patches/gcc-15.patch drbd-utils-9.22.0/debian/patches/gcc-15.patch
--- drbd-utils-9.22.0/debian/patches/gcc-15.patch	1970-01-01 02:00:00.000000000 +0200
+++ drbd-utils-9.22.0/debian/patches/gcc-15.patch	2025-09-22 15:22:53.000000000 +0300
@@ -0,0 +1,15 @@
+Description: Fix FTBFS with GCC 15
+Author: Adrian Bunk <bunk@debian.org>
+Bug-Debian: https://bugs.debian.org/1096546
+Applied-Upstream: 9.26.0, https://github.com/LINBIT/drbd-utils/commit/03b7e0e12bf1b5b4b133f5ffb284e82f3ddf6c78
+
+--- drbd-utils-9.22.0.orig/user/drbdmon/utils.h
++++ drbd-utils-9.22.0/user/drbdmon/utils.h
+@@ -1,6 +1,7 @@
+ #ifndef UTILS_H
+ #define	UTILS_H
+ 
++#include <cstdint>
+ #include <string>
+ #include <cstdlib>
+ #include <stdexcept>
diff -Nru drbd-utils-9.22.0/debian/patches/series drbd-utils-9.22.0/debian/patches/series
--- drbd-utils-9.22.0/debian/patches/series	2024-07-17 20:22:06.000000000 +0300
+++ drbd-utils-9.22.0/debian/patches/series	2025-09-22 15:22:53.000000000 +0300
@@ -6,3 +6,4 @@
 0007-drbdmon-buildflags.patch
 0008-drbdmon-pass-LDFLAGS-to-g.patch
 0009-no-hard-coded-paths.patch
+gcc-15.patch
