From 6c7d4991ea5f7a4fd66d03808c214eea1e705d3f Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Sun, 12 May 2024 20:37:13 -0700 Subject: [PATCH] aggregate: fix compilation with GCC 14 Implicit int is now an error. Signed-off-by: Rosen Penev --- net/aggregate/Makefile | 2 +- net/aggregate/patches/010-gcc14.patch | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 net/aggregate/patches/010-gcc14.patch diff --git a/net/aggregate/Makefile b/net/aggregate/Makefile index c20f95bae7..e47efeeeb4 100644 --- a/net/aggregate/Makefile +++ b/net/aggregate/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=aggregate PKG_VERSION:=1.6 -PKG_RELEASE:=2 +PKG_RELEASE:=3 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://ftp.isc.org/isc/aggregate/ diff --git a/net/aggregate/patches/010-gcc14.patch b/net/aggregate/patches/010-gcc14.patch new file mode 100644 index 0000000000..5a98936c02 --- /dev/null +++ b/net/aggregate/patches/010-gcc14.patch @@ -0,0 +1,11 @@ +--- 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 -- 2.30.2