mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-08 00:20:38 -09:00
package/iftop: fix build with gcc-15.x
Signed-off-by: Bernd Kuhls <bernd@kuhls.net> Signed-off-by: Julien Olivain <ju.o@free.fr>
This commit is contained in:
committed by
Julien Olivain
parent
37a715969f
commit
fcf8bdc62a
18
package/iftop/0003-iftop-function-args.patch
Normal file
18
package/iftop/0003-iftop-function-args.patch
Normal file
@@ -0,0 +1,18 @@
|
||||
Fix gcc-15.x build
|
||||
|
||||
Upstream: https://src.fedoraproject.org/rpms/iftop/c/d098f91f0f590c1cab264bf77851d4018c430d9f?branch=rawhide
|
||||
|
||||
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
|
||||
|
||||
diff -up iftop-1.0pre4/cfgfile.h.fargs iftop-1.0pre4/cfgfile.h
|
||||
--- iftop-1.0pre4/cfgfile.h.fargs 2014-01-05 19:47:53.000000000 +0100
|
||||
+++ iftop-1.0pre4/cfgfile.h 2025-05-15 18:09:05.849754901 +0200
|
||||
@@ -13,7 +13,7 @@ typedef struct {
|
||||
int value;
|
||||
} config_enumeration_type;
|
||||
|
||||
-int read_config();
|
||||
+int read_config(char *f, int whinge);
|
||||
|
||||
char *config_get_string(const char *directive);
|
||||
int config_get_bool(const char *directive);
|
||||
Reference in New Issue
Block a user