From 4b30277f2a3f3bffc87ba4d038861718df76454c Mon Sep 17 00:00:00 2001 From: "mark.yang" Date: Tue, 8 Apr 2025 19:49:54 +0900 Subject: bubblewrap: fix error with gcc-15 * backport fix from: https://github.com/containers/bubblewrap/pull/660 But patch rework for this version. In gcc 15, bool became a reserved keyword in C23, causing conflicts with our custom bool definition. See also, https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=55e3bd376b2214e200fa76d12b67ff259b06c212 * to fix: http://errors.yoctoproject.org/Errors/Details/851183/ ../bubblewrap-0.10.0/utils.h:46:13: error: 'bool' cannot be defined via 'typedef' 46 | typedef int bool; | ^~~~ Signed-off-by: mark.yang Signed-off-by: Khem Raj --- meta-oe/recipes-security/bubblewrap/bubblewrap_0.10.0.bb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'meta-oe/recipes-security/bubblewrap/bubblewrap_0.10.0.bb') diff --git a/meta-oe/recipes-security/bubblewrap/bubblewrap_0.10.0.bb b/meta-oe/recipes-security/bubblewrap/bubblewrap_0.10.0.bb index 60155e035b..41ab0cfc32 100644 --- a/meta-oe/recipes-security/bubblewrap/bubblewrap_0.10.0.bb +++ b/meta-oe/recipes-security/bubblewrap/bubblewrap_0.10.0.bb @@ -5,7 +5,10 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=5f30f0716dfdd0d91eb439ebec522ec2" DEPENDS = "libcap" -SRC_URI = "https://github.com/containers/${BPN}/releases/download/v${PV}/${BP}.tar.xz" +SRC_URI = " \ + https://github.com/containers/${BPN}/releases/download/v${PV}/${BP}.tar.xz \ + file://0001-Use-stdbool.h-for-booleans.patch \ +" SRC_URI[sha256sum] = "65d92cf44a63a51e1b7771f70c05013dce5bd6b0b2841c4b4be54b0c45565471" inherit autotools bash-completion github-releases manpages pkgconfig -- cgit v1.2.3-54-g00ecf