mirror of
https://github.com/openwrt/packages.git
synced 2025-12-26 11:16:31 +04:00
ifstat: fix compilation with GCC14
Need explicit int. Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
11
net/ifstat/patches/010-gcc14.patch
Normal file
11
net/ifstat/patches/010-gcc14.patch
Normal file
@@ -0,0 +1,11 @@
|
||||
--- a/configure
|
||||
+++ b/configure
|
||||
@@ -783,7 +783,7 @@ cat > conftest.$ac_ext << EOF
|
||||
#line 784 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
-main(){return(0);}
|
||||
+int main(){return(0);}
|
||||
EOF
|
||||
if { (eval echo configure:789: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
ac_cv_prog_cc_works=yes
|
||||
Reference in New Issue
Block a user