bottlerocket: fix compilation with GCC 14

implicit int errors now.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
Rosen Penev 2024-05-12 20:34:36 -07:00
parent 5e63e53ddd
commit 77130df23d
2 changed files with 12 additions and 1 deletions

View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=bottlerocket
PKG_VERSION:=0.04c
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://linuxha.com/bottlerocket

View File

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