Control: tags 1098078 + patch
Control: tags 1098078 + pending

Dear maintainer,

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

cu
Adrian
diffstat for w1retap-1.5.5 w1retap-1.5.5

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

diff -Nru w1retap-1.5.5/debian/changelog w1retap-1.5.5/debian/changelog
--- w1retap-1.5.5/debian/changelog	2025-01-17 04:35:29.000000000 +0200
+++ w1retap-1.5.5/debian/changelog	2025-10-25 15:13:05.000000000 +0300
@@ -1,3 +1,10 @@
+w1retap (1.5.5-2.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTBFS with GCC 15. (Closes: #1098078)
+
+ -- Adrian Bunk <[email protected]>  Sat, 25 Oct 2025 15:13:05 +0300
+
 w1retap (1.5.5-2) unstable; urgency=medium
 
   * Update add-appstream-metainfo.patch (Closes: #1078858)
diff -Nru w1retap-1.5.5/debian/patches/gcc-15.patch w1retap-1.5.5/debian/patches/gcc-15.patch
--- w1retap-1.5.5/debian/patches/gcc-15.patch	1970-01-01 02:00:00.000000000 +0200
+++ w1retap-1.5.5/debian/patches/gcc-15.patch	2025-10-25 15:13:05.000000000 +0300
@@ -0,0 +1,24 @@
+Description: Fix FTBFS with GCC 15
+Author: Adrian Bunk <[email protected]>
+Bug-Debian: https://bugs.debian.org/1098078
+
+--- w1retap-1.5.5.orig/src/libusblinux300/pressure.c
++++ w1retap-1.5.5/src/libusblinux300/pressure.c
+@@ -27,6 +27,7 @@
+  *
+  */
+ 
++#include <stdbool.h>
+ #include <stdlib.h>
+ #include <stdio.h>
+ #include <string.h>
+@@ -51,9 +52,6 @@
+ #define SEC_RESET "101010101010101000000"
+ 
+ typedef unsigned char byte;
+-typedef int bool;
+-#define false 0
+-#define true 1
+ 
+ static u_char SwitchSN[2][8];
+ static int reader = -1, writer;
diff -Nru w1retap-1.5.5/debian/patches/series w1retap-1.5.5/debian/patches/series
--- w1retap-1.5.5/debian/patches/series	2024-08-01 12:24:06.000000000 +0300
+++ w1retap-1.5.5/debian/patches/series	2025-10-25 15:13:05.000000000 +0300
@@ -6,3 +6,4 @@
 fix-timet.patch
 fix-owerr-spelling.patch
 fix-rpath.patch
+gcc-15.patch

Reply via email to