Control: tags 1075697 + patch
Control: tags 1075697 + pending
--

Dear maintainer,

I've prepared an NMU for yersinia (versioned as 0.8.2-2.3) and
uploaded it to DELAYED/3. Please feel free to tell me if I
should cancel it.

-- 
Regards
Sudip

diffstat for yersinia-0.8.2 yersinia-0.8.2

 changelog               |    7 +++++++
 patches/fix-ftbfs.patch |   32 ++++++++++++++++++++++++++++++++
 patches/series          |    1 +
 3 files changed, 40 insertions(+)

diff -Nru yersinia-0.8.2/debian/changelog yersinia-0.8.2/debian/changelog
--- yersinia-0.8.2/debian/changelog     2023-11-10 15:14:01.000000000 +0000
+++ yersinia-0.8.2/debian/changelog     2025-11-24 14:14:51.000000000 +0000
@@ -1,3 +1,10 @@
+yersinia (0.8.2-2.3) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTBFS with gcc-15. (Closes: #1075697)
+
+ -- Sudip Mukherjee <[email protected]>  Mon, 24 Nov 2025 14:14:51 
+0000
+
 yersinia (0.8.2-2.2) unstable; urgency=medium
 
   * Non-maintainer upload
diff -Nru yersinia-0.8.2/debian/patches/fix-ftbfs.patch 
yersinia-0.8.2/debian/patches/fix-ftbfs.patch
--- yersinia-0.8.2/debian/patches/fix-ftbfs.patch       1970-01-01 
01:00:00.000000000 +0100
+++ yersinia-0.8.2/debian/patches/fix-ftbfs.patch       2025-11-24 
14:14:30.000000000 +0000
@@ -0,0 +1,32 @@
+Description: Fix FTBFS with gcc-15
+
+Author: Sudip Mukherjee <[email protected]>
+Bug-Debian: https://bugs.debian.org/1075697
+Forwarded: https://github.com/tomac/yersinia/pull/100
+Last-Update: 2025-11-24
+---
+
+--- yersinia-0.8.2.orig/src/vtp.c
++++ yersinia-0.8.2/src/vtp.c
+@@ -1525,8 +1525,8 @@ vtp_load_values(struct pcap_data *data,
+        case VTP_REQUEST:
+             aux_short = (u_int16_t *)ptr;
+ #ifdef LBL_ALIGN
+-            memcpy((void *)&aux_short2, (void *)aux_short, 4);
+-            vtp->start_val = ntohs(aux_short2);
++            memcpy((void *)aux_short2, (void *)aux_short, 4);
++            vtp->start_val = ntohs(*aux_short2);
+ #else
+             vtp->start_val = ntohs(*aux_short);
+ #endif            
+--- yersinia-0.8.2.orig/src/yersinia.c
++++ yersinia-0.8.2/src/yersinia.c
+@@ -926,7 +926,7 @@ handle_signals_parent( void )
+  * POSIX functions for signals 
+  */
+ int 
+-posix_signal( int signo, void (*handler)() )
++posix_signal( int signo, void (*handler)(int) )
+ {
+     struct sigaction act;
+ 
diff -Nru yersinia-0.8.2/debian/patches/series 
yersinia-0.8.2/debian/patches/series
--- yersinia-0.8.2/debian/patches/series        2020-10-05 04:04:13.000000000 
+0100
+++ yersinia-0.8.2/debian/patches/series        2025-11-24 14:14:44.000000000 
+0000
@@ -1,2 +1,3 @@
 yersinia_reproducible.patch
 gcc10.patch
+fix-ftbfs.patch

Reply via email to