summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-oe/recipes-graphics/lvgl/files/0001-thorvg-fix-build-with-gcc-15.patch34
-rw-r--r--meta-oe/recipes-graphics/lvgl/lvgl_9.1.0.bb1
2 files changed, 35 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 @@
1From a9e41f7e9590c757e74877cace6442dd676223ff Mon Sep 17 00:00:00 2001
2From: Martin Jansa <martin.jansa@gmail.com>
3Date: Fri, 21 Mar 2025 10:25:43 +0000
4Subject: [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
16Upstream-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
18Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
19---
20 src/libs/thorvg/thorvg.h | 1 +
21 1 file changed, 1 insertion(+)
22
23diff --git a/src/libs/thorvg/thorvg.h b/src/libs/thorvg/thorvg.h
24index 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>
diff --git a/meta-oe/recipes-graphics/lvgl/lvgl_9.1.0.bb b/meta-oe/recipes-graphics/lvgl/lvgl_9.1.0.bb
index 63c810d74d..b07cdfc8f6 100644
--- a/meta-oe/recipes-graphics/lvgl/lvgl_9.1.0.bb
+++ b/meta-oe/recipes-graphics/lvgl/lvgl_9.1.0.bb
@@ -13,6 +13,7 @@ SRC_URI = "\
13 file://0002-fix-sdl-handle-both-LV_IMAGE_SRC_FILE-and-LV_IMAGE_S.patch \ 13 file://0002-fix-sdl-handle-both-LV_IMAGE_SRC_FILE-and-LV_IMAGE_S.patch \
14 file://0007-fix-cmake-generate-versioned-shared-libraries.patch \ 14 file://0007-fix-cmake-generate-versioned-shared-libraries.patch \
15 file://0008-fix-fbdev-set-resolution-prior-to-buffer.patch \ 15 file://0008-fix-fbdev-set-resolution-prior-to-buffer.patch \
16 file://0001-thorvg-fix-build-with-gcc-15.patch \
16 " 17 "
17SRCREV = "e1c0b21b2723d391b885de4b2ee5cc997eccca91" 18SRCREV = "e1c0b21b2723d391b885de4b2ee5cc997eccca91"
18 19