mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-10 00:04:06 -09:00
Fixes: https://autobuild.buildroot.net/results/572669fe1f9a77083a361fee7c8acdf38d7375ae/ Signed-off-by: Bernd Kuhls <bernd@kuhls.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
39 lines
798 B
Diff
39 lines
798 B
Diff
Description: Fix FTBFS with GCC 15
|
|
Author: Adrian Bunk <bunk@debian.org>
|
|
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 <bernd@kuhls.net>
|
|
|
|
--- 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;
|
|
|