diff options
| author | mark.yang <mark.yang@lge.com> | 2025-04-08 19:49:54 +0900 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2025-04-08 08:22:05 -0700 |
| commit | 4b30277f2a3f3bffc87ba4d038861718df76454c (patch) | |
| tree | dee3d8ea033f2aa282dbab2b955663859ff7f722 /meta-oe/recipes-security/bubblewrap/bubblewrap_0.10.0.bb | |
| parent | 5d475ee536791da886b3336695617d4df731b312 (diff) | |
| download | meta-openembedded-4b30277f2a3f3bffc87ba4d038861718df76454c.tar.gz | |
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 <mark.yang@lge.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-security/bubblewrap/bubblewrap_0.10.0.bb')
| -rw-r--r-- | meta-oe/recipes-security/bubblewrap/bubblewrap_0.10.0.bb | 5 |
1 files changed, 4 insertions, 1 deletions
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" | |||
| 5 | 5 | ||
| 6 | DEPENDS = "libcap" | 6 | DEPENDS = "libcap" |
| 7 | 7 | ||
| 8 | SRC_URI = "https://github.com/containers/${BPN}/releases/download/v${PV}/${BP}.tar.xz" | 8 | SRC_URI = " \ |
| 9 | https://github.com/containers/${BPN}/releases/download/v${PV}/${BP}.tar.xz \ | ||
| 10 | file://0001-Use-stdbool.h-for-booleans.patch \ | ||
| 11 | " | ||
| 9 | SRC_URI[sha256sum] = "65d92cf44a63a51e1b7771f70c05013dce5bd6b0b2841c4b4be54b0c45565471" | 12 | SRC_URI[sha256sum] = "65d92cf44a63a51e1b7771f70c05013dce5bd6b0b2841c4b4be54b0c45565471" |
| 10 | 13 | ||
| 11 | inherit autotools bash-completion github-releases manpages pkgconfig | 14 | inherit autotools bash-completion github-releases manpages pkgconfig |
