diff options
| author | Martin Jansa <martin.jansa@gmail.com> | 2025-03-21 12:20:43 +0100 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2025-03-21 11:07:34 -0700 |
| commit | 351254e9e8fecf21485d9840b28eed586ace5352 (patch) | |
| tree | 38455e0eaf9053466a29c0d48fc656f5dedced10 /meta-oe/recipes-graphics/lvgl/files | |
| parent | baea74476a217d55a31b77efe53b6925e231a7ab (diff) | |
| download | meta-openembedded-351254e9e8fecf21485d9840b28eed586ace5352.tar.gz | |
lvgl: fix build with gcc-15 when thorvg is enabled
* fixes:
http://errors.yoctoproject.org/Errors/Details/848488/
which is triggered only when thorvg PACKAGECONFIG is enabled
Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-graphics/lvgl/files')
| -rw-r--r-- | meta-oe/recipes-graphics/lvgl/files/0001-thorvg-fix-build-with-gcc-15.patch | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/meta-oe/recipes-graphics/lvgl/files/0001-thorvg-fix-build-with-gcc-15.patch b/meta-oe/recipes-graphics/lvgl/files/0001-thorvg-fix-build-with-gcc-15.patch new file mode 100644 index 0000000000..eefcbe5b9c --- /dev/null +++ b/meta-oe/recipes-graphics/lvgl/files/0001-thorvg-fix-build-with-gcc-15.patch | |||
| @@ -0,0 +1,34 @@ | |||
| 1 | From a9e41f7e9590c757e74877cace6442dd676223ff Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Martin Jansa <martin.jansa@gmail.com> | ||
| 3 | Date: Fri, 21 Mar 2025 10:25:43 +0000 | ||
| 4 | Subject: [PATCH] thorvg: fix build with gcc-15 | ||
| 5 | |||
| 6 | * add missing include to fix: | ||
| 7 | src/libs/thorvg/thorvg.h:357:20: error: 'uint8_t' has not been declared | ||
| 8 | 357 | Result opacity(uint8_t o) noexcept; | ||
| 9 | | ^~~~~~~ | ||
| 10 | |||
| 11 | * not needed with latest master where it was resolved differently in | ||
| 12 | fc5c15638 feat(thorvg): use LVGL's malloc/realloc/zalloc/free (#7772) | ||
| 13 | which includes stdlib/lv_string.h which includes misc/lv_types.h which | ||
| 14 | includes stdint | ||
| 15 | |||
| 16 | Upstream-Status: Pending [not needed with latest master where it was resolved differently in fc5c15638 feat(thorvg): use LVGL's malloc/realloc/zalloc/free (#7772)] | ||
| 17 | |||
| 18 | Signed-off-by: Martin Jansa <martin.jansa@gmail.com> | ||
| 19 | --- | ||
| 20 | src/libs/thorvg/thorvg.h | 1 + | ||
| 21 | 1 file changed, 1 insertion(+) | ||
| 22 | |||
| 23 | diff --git a/src/libs/thorvg/thorvg.h b/src/libs/thorvg/thorvg.h | ||
| 24 | index 7f5a84b94..0c84ec66e 100644 | ||
| 25 | --- a/src/libs/thorvg/thorvg.h | ||
| 26 | +++ b/src/libs/thorvg/thorvg.h | ||
| 27 | @@ -18,6 +18,7 @@ | ||
| 28 | #ifndef _THORVG_H_ | ||
| 29 | #define _THORVG_H_ | ||
| 30 | |||
| 31 | +#include <cstdint> | ||
| 32 | #include <functional> | ||
| 33 | #include <memory> | ||
| 34 | #include <string> | ||
