From: Rosen Penev Date: Sat, 12 Jul 2025 03:19:09 +0000 (-0700) Subject: crun: fix compilation with GCC 15 X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=223d62e02cd6f4724f91a1c1bcdf40e52c479b5e;p=feed%2Fpackages.git crun: fix compilation with GCC 15 Need to fix function prototype Signed-off-by: Rosen Penev --- 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;