Control: tags 1074902 + patch

Dear maintainer,

I've uploaded an NMU for daq (versioned as 2.0.7-5.2).
The diff is attached to this message.

cu
Adrian
diffstat for daq-2.0.7 daq-2.0.7

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

diff -Nru daq-2.0.7/debian/changelog daq-2.0.7/debian/changelog
--- daq-2.0.7/debian/changelog	2024-02-28 01:54:17.000000000 +0200
+++ daq-2.0.7/debian/changelog	2025-04-11 10:07:39.000000000 +0300
@@ -1,3 +1,10 @@
+daq (2.0.7-5.2) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTBFS with gcc 14. (Closes: #1074902)
+
+ -- Adrian Bunk <b...@debian.org>  Fri, 11 Apr 2025 10:07:39 +0300
+
 daq (2.0.7-5.1) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru daq-2.0.7/debian/patches/gcc14.patch daq-2.0.7/debian/patches/gcc14.patch
--- daq-2.0.7/debian/patches/gcc14.patch	1970-01-01 02:00:00.000000000 +0200
+++ daq-2.0.7/debian/patches/gcc14.patch	2025-04-11 10:07:39.000000000 +0300
@@ -0,0 +1,15 @@
+Description: Fix FTBFS with gcc 14
+Author: Adrian Bunk <b...@debian.org>
+Bug-Debian: https://bugs.debian.org/1074902
+
+--- daq-2.0.7.orig/os-daq-modules/daq_nfq.c
++++ daq-2.0.7/os-daq-modules/daq_nfq.c
+@@ -391,7 +391,7 @@ static inline int SetPktHdr (
+     DAQ_PktHdr_t* hdr,
+     uint8_t** pkt
+ ) {
+-    int len = nfq_get_payload(nfad, (char**)pkt);
++    int len = nfq_get_payload(nfad, pkt);
+ 
+     if ( len <= 0 )
+         return -1;
diff -Nru daq-2.0.7/debian/patches/series daq-2.0.7/debian/patches/series
--- daq-2.0.7/debian/patches/series	2020-07-19 14:49:31.000000000 +0300
+++ daq-2.0.7/debian/patches/series	2025-04-11 10:07:39.000000000 +0300
@@ -1,2 +1,3 @@
 pcap_version_check
 #fix_ftbfs_parallel_build
+gcc14.patch

Reply via email to