From 7b0565fc9d2ee8c9cf0a493712886c24f9cdc8dd Mon Sep 17 00:00:00 2001 From: Bernd Kuhls Date: Wed, 9 Aug 2023 23:19:35 +0200 Subject: [PATCH] package/kodi-imagedecoder-heif: fix build with gcc-13 Signed-off-by: Bernd Kuhls Signed-off-by: Thomas Petazzoni --- ...de-missing-cstdint-to-support-gcc-13.patch | 31 +++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 package/kodi-imagedecoder-heif/0001-include-missing-cstdint-to-support-gcc-13.patch diff --git a/package/kodi-imagedecoder-heif/0001-include-missing-cstdint-to-support-gcc-13.patch b/package/kodi-imagedecoder-heif/0001-include-missing-cstdint-to-support-gcc-13.patch new file mode 100644 index 0000000000..bd431545e1 --- /dev/null +++ b/package/kodi-imagedecoder-heif/0001-include-missing-cstdint-to-support-gcc-13.patch @@ -0,0 +1,31 @@ +From 47dcb3843e02abb69c52d6f0021bd2816b8317a5 Mon Sep 17 00:00:00 2001 +From: Rudi Heitbaum +Date: Thu, 27 Apr 2023 02:46:59 +1000 +Subject: [PATCH] include missing to support gcc-13 + +gcc 13 moved some includes around and as a result is no longer transitively +included [1]. Explicitly include it for uint{32,64}_t. + +[1] https://gcc.gnu.org/gcc-13/porting_to.html#header-dep-changes + +Signed-off-by: Rudi Heitbaum + +Upstream: https://github.com/xbmc/imagedecoder.heif/commit/47dcb3843e02abb69c52d6f0021bd2816b8317a5 + +Signed-off-by: Bernd Kuhls +--- + lib/TinyEXIF/TinyEXIF.h | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/lib/TinyEXIF/TinyEXIF.h b/lib/TinyEXIF/TinyEXIF.h +index 56354aa..b03d36b 100644 +--- a/lib/TinyEXIF/TinyEXIF.h ++++ b/lib/TinyEXIF/TinyEXIF.h +@@ -34,6 +34,7 @@ + #ifndef __TINYEXIF_H__ + #define __TINYEXIF_H__ + ++#include + #include + #include +