summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-graphics/lvgl/files/0001-thorvg-fix-build-with-gcc-15.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-graphics/lvgl/files/0001-thorvg-fix-build-with-gcc-15.patch')
-rw-r--r--meta-oe/recipes-graphics/lvgl/files/0001-thorvg-fix-build-with-gcc-15.patch32
1 files changed, 32 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..e61b5224aa
--- /dev/null
+++ b/meta-oe/recipes-graphics/lvgl/files/0001-thorvg-fix-build-with-gcc-15.patch
@@ -0,0 +1,32 @@
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
23--- a/src/libs/thorvg/thorvg.h
24+++ b/src/libs/thorvg/thorvg.h
25@@ -12,6 +12,7 @@
26 #define TVG_BUILD 1
27
28
29+#include <cstdint>
30 #include <functional>
31 #include <memory>
32 #include <string>