udptunnel: fix compilation with GCC14
authorRosen Penev <redacted>
Thu, 16 May 2024 02:38:59 +0000 (19:38 -0700)
committerRosen Penev <redacted>
Thu, 16 May 2024 06:01:49 +0000 (23:01 -0700)
Missing int in main.

Signed-off-by: Rosen Penev <redacted>
net/udptunnel/Makefile
net/udptunnel/patches/010-gcc14.patch [new file with mode: 0644]

index e228261b126cf38def5d0f8f8c1a44b2b12c82cf..0b324ae62b0320178cc52562567bd23a78ba3ffd 100644 (file)
@@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=udptunnel
 PKG_VERSION:=1.1
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=http://www.cs.columbia.edu/~lennox/udptunnel
diff --git a/net/udptunnel/patches/010-gcc14.patch b/net/udptunnel/patches/010-gcc14.patch
new file mode 100644 (file)
index 0000000..9cc7f13
--- /dev/null
@@ -0,0 +1,11 @@
+--- 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
git clone https://git.99rst.org/PROJECT