From 223d62e02cd6f4724f91a1c1bcdf40e52c479b5e Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Fri, 11 Jul 2025 20:19:09 -0700 Subject: [PATCH] crun: fix compilation with GCC 15 Need to fix function prototype Signed-off-by: Rosen Penev --- utils/crun/Makefile | 2 +- utils/crun/patches/010-gcc15.patch | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 utils/crun/patches/010-gcc15.patch diff --git a/utils/crun/Makefile b/utils/crun/Makefile index 29ac65cba2..8b48092a75 100644 --- a/utils/crun/Makefile +++ b/utils/crun/Makefile @@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=crun PKG_VERSION:=1.17 -PKG_RELEASE:=2 +PKG_RELEASE:=3 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://codeload.github.com/containers/crun/tar.gz/$(PKG_VERSION)? diff --git a/utils/crun/patches/010-gcc15.patch b/utils/crun/patches/010-gcc15.patch new file mode 100644 index 0000000000..e37127bb81 --- /dev/null +++ b/utils/crun/patches/010-gcc15.patch @@ -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;