mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-01 21:23:51 -09:00
package/parprouted: fix build with gcc >= 15.x
Fixes: https://autobuild.buildroot.net/results/572669fe1f9a77083a361fee7c8acdf38d7375ae/ Signed-off-by: Bernd Kuhls <bernd@kuhls.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
committed by
Thomas Petazzoni
parent
37ef4f862f
commit
eb25a634c1
38
package/parprouted/0001-gcc-15.patch
Normal file
38
package/parprouted/0001-gcc-15.patch
Normal file
@@ -0,0 +1,38 @@
|
||||
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;
|
||||
|
||||
Reference in New Issue
Block a user