Control: tags 1096387 + patch
Control: tags 1096387 + pending

Dear maintainer,

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

cu
Adrian
diffstat for bootp-2.4.3 bootp-2.4.3

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

diff -Nru bootp-2.4.3/debian/changelog bootp-2.4.3/debian/changelog
--- bootp-2.4.3/debian/changelog	2025-05-16 16:48:58.000000000 +0300
+++ bootp-2.4.3/debian/changelog	2025-09-20 18:20:01.000000000 +0300
@@ -1,3 +1,10 @@
+bootp (2.4.3-21.2) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTBFS with GCC 15. (Closes: #1096387)
+
+ -- Adrian Bunk <[email protected]>  Sat, 20 Sep 2025 18:20:01 +0300
+
 bootp (2.4.3-21.1) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru bootp-2.4.3/debian/patches/gcc-15.patch bootp-2.4.3/debian/patches/gcc-15.patch
--- bootp-2.4.3/debian/patches/gcc-15.patch	1970-01-01 02:00:00.000000000 +0200
+++ bootp-2.4.3/debian/patches/gcc-15.patch	2025-09-20 18:20:01.000000000 +0300
@@ -0,0 +1,25 @@
+Description: Fix FTBFS with GCC 15
+Author: Adrian Bunk <[email protected]>
+Bug-Debian: https://bugs.debian.org/1096387
+
+--- bootp-2.4.3.orig/Makefile
++++ bootp-2.4.3/Makefile
+@@ -9,7 +9,7 @@
+ # OPTion DEFinitions:
+ # Remove the -DVEND_CMU if you don't wish to support the "CMU vendor format"
+ # in addition to the RFC1048 format.  Leaving out DEBUG saves little.
+-OPTDEFS= -DSYSLOG -DVEND_CMU -DDHCP -DDEBUG -g -O2 -Wall
++OPTDEFS= -DSYSLOG -DVEND_CMU -DDHCP -DDEBUG -g -O2 -Wall -std=gnu17
+ 
+ # Uncomment and edit this to choose the facility code used for syslog.
+ LOG_FACILITY= "-DLOG_BOOTP=LOG_DAEMON"
+--- bootp-2.4.3.orig/hwaddr.c
++++ bootp-2.4.3/hwaddr.c
+@@ -31,6 +31,7 @@
+ #endif
+ 
+ #include <stdio.h>
++#include <stdlib.h>
+ #ifndef	NO_UNISTD
+ #include <unistd.h>
+ #endif
diff -Nru bootp-2.4.3/debian/patches/series bootp-2.4.3/debian/patches/series
--- bootp-2.4.3/debian/patches/series	2025-05-16 16:48:58.000000000 +0300
+++ bootp-2.4.3/debian/patches/series	2025-09-20 18:20:01.000000000 +0300
@@ -1,3 +1,4 @@
 bootp_2.4.3-18.diff
 insert_ip-conflicting-declarations.patch
 time_t.patch
+gcc-15.patch

Reply via email to