mirror of
https://github.com/openwrt/packages.git
synced 2025-12-21 19:14:30 +04:00
aggregate: fix compilation with GCC 14
Implicit int is now an error. Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
|
|
||||||
PKG_NAME:=aggregate
|
PKG_NAME:=aggregate
|
||||||
PKG_VERSION:=1.6
|
PKG_VERSION:=1.6
|
||||||
PKG_RELEASE:=2
|
PKG_RELEASE:=3
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||||
PKG_SOURCE_URL:=https://ftp.isc.org/isc/aggregate/
|
PKG_SOURCE_URL:=https://ftp.isc.org/isc/aggregate/
|
||||||
|
|||||||
11
net/aggregate/patches/010-gcc14.patch
Normal file
11
net/aggregate/patches/010-gcc14.patch
Normal file
@@ -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
|
||||||
Reference in New Issue
Block a user