crun: fix compilation with GCC 15

Need to fix function prototype

Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
Rosen Penev
2025-07-11 20:19:09 -07:00
committed by Tianling Shen
parent f6e404e96d
commit 223d62e02c
2 changed files with 12 additions and 1 deletions

View File

@@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=crun PKG_NAME:=crun
PKG_VERSION:=1.17 PKG_VERSION:=1.17
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://codeload.github.com/containers/crun/tar.gz/$(PKG_VERSION)? PKG_SOURCE_URL:=https://codeload.github.com/containers/crun/tar.gz/$(PKG_VERSION)?

View File

@@ -0,0 +1,11 @@
--- a/tests/tests_libcrun_fuzzer.c
+++ b/tests/tests_libcrun_fuzzer.c
@@ -463,7 +463,7 @@ LLVMFuzzerTestOneInput (uint8_t *buf, si
}
static void
-sig_chld ()
+sig_chld (int i)
{
int status;
pid_t p;