0
0
mirror of https://github.com/openwrt/packages.git synced 2025-07-10 01:49:00 +00:00
Files
packages/net/udptunnel/patches/010-gcc14.patch
Rosen Penev f20b896c95 udptunnel: fix compilation with GCC14
Missing int in main.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2024-05-15 23:01:49 -07:00

12 lines
320 B
Diff

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