Control: tags 1096374 + patch
Control: tags 1096374 + pending

Dear maintainer,

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

cu
Adrian
diffstat for bip-0.9.3 bip-0.9.3

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

diff -Nru bip-0.9.3/debian/changelog bip-0.9.3/debian/changelog
--- bip-0.9.3/debian/changelog	2024-07-08 17:25:12.000000000 +0300
+++ bip-0.9.3/debian/changelog	2025-09-20 17:24:37.000000000 +0300
@@ -1,3 +1,10 @@
+bip (0.9.3-1.2) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTBFS with GCC 15. (Closes: #1096374)
+
+ -- Adrian Bunk <[email protected]>  Sat, 20 Sep 2025 17:24:37 +0300
+
 bip (0.9.3-1.1) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru bip-0.9.3/debian/patches/gcc-15.patch bip-0.9.3/debian/patches/gcc-15.patch
--- bip-0.9.3/debian/patches/gcc-15.patch	1970-01-01 02:00:00.000000000 +0200
+++ bip-0.9.3/debian/patches/gcc-15.patch	2025-09-20 17:24:37.000000000 +0300
@@ -0,0 +1,22 @@
+Description: Fix FTBFS with GCC 15
+Author: Adrian Bunk <[email protected]>
+Bug-Debian: https://bugs.debian.org/1096374
+
+--- bip-0.9.3.orig/src/util.h
++++ bip-0.9.3/src/util.h
+@@ -43,14 +43,11 @@ struct list_item {
+ 	void *ptr;
+ };
+ 
+-#pragma GCC diagnostic push
+-#pragma GCC diagnostic ignored "-Wstrict-prototypes"
+ typedef struct list {
+ 	struct list_item *first;
+ 	struct list_item *last;
+-	int (*cmp)();
++	int (*cmp)(const void *, const void *);
+ } list_t;
+-#pragma GCC diagnostic pop
+ 
+ typedef struct list_iterator {
+ 	list_t *list;
diff -Nru bip-0.9.3/debian/patches/series bip-0.9.3/debian/patches/series
--- bip-0.9.3/debian/patches/series	1970-01-01 02:00:00.000000000 +0200
+++ bip-0.9.3/debian/patches/series	2025-09-20 17:24:37.000000000 +0300
@@ -0,0 +1 @@
+gcc-15.patch

Reply via email to