1
0
mirror of https://git.openwrt.org/feed/packages.git synced 2024-06-17 04:44:10 +02:00
openwrt-packages/net/aggregate/patches/010-gcc14.patch
Rosen Penev 6c7d4991ea aggregate: fix compilation with GCC 14
Implicit int is now an error.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2024-05-13 00:02:15 -07:00

12 lines
320 B
Diff

--- a/configure
+++ b/configure
@@ -652,7 +652,7 @@ cat > conftest.$ac_ext << EOF
#line 653 "configure"
#include "confdefs.h"
-main(){return(0);}
+int main(){return(0);}
EOF
if { (eval echo configure:658: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
ac_cv_prog_cc_works=yes