From eb25a634c1cd779a62907a3a57515b46cf3c41a4 Mon Sep 17 00:00:00 2001 From: Bernd Kuhls Date: Mon, 1 Dec 2025 20:28:49 +0100 Subject: [PATCH] package/parprouted: fix build with gcc >= 15.x Fixes: https://autobuild.buildroot.net/results/572669fe1f9a77083a361fee7c8acdf38d7375ae/ Signed-off-by: Bernd Kuhls Signed-off-by: Thomas Petazzoni --- package/parprouted/0001-gcc-15.patch | 38 ++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 package/parprouted/0001-gcc-15.patch diff --git a/package/parprouted/0001-gcc-15.patch b/package/parprouted/0001-gcc-15.patch new file mode 100644 index 0000000000..2090506491 --- /dev/null +++ b/package/parprouted/0001-gcc-15.patch @@ -0,0 +1,38 @@ +Description: Fix FTBFS with GCC 15 +Author: Adrian Bunk +Bug-Debian: https://bugs.debian.org/1097548 + +Downloaded from +https://sources.debian.org/src/parprouted/0.70-6/debian/patches/gcc-15.patch + +Upstream: dead (last update 2008) + +Signed-off-by: Bernd Kuhls + +--- parprouted-0.70.orig/parprouted.c ++++ parprouted-0.70/parprouted.c +@@ -330,7 +330,7 @@ void parseproc() + } + } + +-void cleanup() ++void cleanup(void *arg) + { + /* FIXME: I think this is a wrong way to do it ... */ + +@@ -346,13 +346,13 @@ void cleanup() + exit(1); + } + +-void sighandler() ++void sighandler(int sig) + { + /* FIXME: I think this is a wrong way to do it ... */ + perform_shutdown=1; + } + +-void *main_thread() ++void *main_thread(void *arg) + { + time_t last_refresh; +