0001-thorvg-fix-build-with-gcc-15.patch 1.1 KB

1234567891011121314151617181920212223242526272829303132
  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. * add missing include to fix:
  6. src/libs/thorvg/thorvg.h:357:20: error: 'uint8_t' has not been declared
  7. 357 | Result opacity(uint8_t o) noexcept;
  8. | ^~~~~~~
  9. * not needed with latest master where it was resolved differently in
  10. fc5c15638 feat(thorvg): use LVGL's malloc/realloc/zalloc/free (#7772)
  11. which includes stdlib/lv_string.h which includes misc/lv_types.h which
  12. includes stdint
  13. 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)]
  14. Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
  15. ---
  16. src/libs/thorvg/thorvg.h | 1 +
  17. 1 file changed, 1 insertion(+)
  18. --- a/src/libs/thorvg/thorvg.h
  19. +++ b/src/libs/thorvg/thorvg.h
  20. @@ -12,6 +12,7 @@
  21. #define TVG_BUILD 1
  22. +#include <cstdint>
  23. #include <functional>
  24. #include <memory>
  25. #include <string>