Control: tags 1114349 + patch
Control: tags 1114349 + pending

Dear maintainer,

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

cu
Adrian
diffstat for rsplib-3.5.1 rsplib-3.5.1

 changelog                                        |    7 ++++
 patches/0001-Build-fix-for-C23-compilation.patch |   35 +++++++++++++++++++++++
 patches/series                                   |    1 
 3 files changed, 43 insertions(+)

diff -Nru rsplib-3.5.1/debian/changelog rsplib-3.5.1/debian/changelog
--- rsplib-3.5.1/debian/changelog	2025-05-20 09:48:49.000000000 +0300
+++ rsplib-3.5.1/debian/changelog	2025-10-08 17:23:12.000000000 +0300
@@ -1,3 +1,10 @@
+rsplib (3.5.1-1.3) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Backport upstream fix for FTBFS with GCC 15. (Closes: #1114349)
+
+ -- Adrian Bunk <[email protected]>  Wed, 08 Oct 2025 17:23:12 +0300
+
 rsplib (3.5.1-1.2) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru rsplib-3.5.1/debian/patches/0001-Build-fix-for-C23-compilation.patch rsplib-3.5.1/debian/patches/0001-Build-fix-for-C23-compilation.patch
--- rsplib-3.5.1/debian/patches/0001-Build-fix-for-C23-compilation.patch	1970-01-01 02:00:00.000000000 +0200
+++ rsplib-3.5.1/debian/patches/0001-Build-fix-for-C23-compilation.patch	2025-10-08 17:22:40.000000000 +0300
@@ -0,0 +1,35 @@
+From eb64eeeb6f98f5b7b35a975148c7c9592a1a5676 Mon Sep 17 00:00:00 2001
+From: Thomas Dreibholz <[email protected]>
+Date: Sat, 5 Jul 2025 11:02:00 +0200
+Subject: Build fix for C23 compilation.
+
+---
+ src/tdtypes.h | 5 +----
+ 1 file changed, 1 insertion(+), 4 deletions(-)
+
+diff --git a/src/tdtypes.h b/src/tdtypes.h
+index 54406201..7c1af860 100644
+--- a/src/tdtypes.h
++++ b/src/tdtypes.h
+@@ -29,6 +29,7 @@
+ #ifndef TDTYPES_H
+ #define TDTYPES_H
+ 
++#include <stdbool.h>
+ #include <stdint.h>
+ #include <sys/types.h>
+ #if defined(__FreeBSD__)
+@@ -39,10 +40,6 @@
+ #endif
+ 
+ #ifndef __cplusplus
+-typedef unsigned char bool;
+-#define true 1
+-#define false 0
+-
+ #ifndef max
+ #define max(a, b) ((a) < (b) ? (b) : (a))
+ #endif
+-- 
+2.30.2
+
diff -Nru rsplib-3.5.1/debian/patches/series rsplib-3.5.1/debian/patches/series
--- rsplib-3.5.1/debian/patches/series	2023-11-15 10:45:01.000000000 +0200
+++ rsplib-3.5.1/debian/patches/series	2025-10-08 17:23:04.000000000 +0300
@@ -0,0 +1 @@
+0001-Build-fix-for-C23-compilation.patch

Reply via email to