0001-include-missing-cstdint-to-support-gcc-13.patch 965 B

12345678910111213141516171819202122232425262728293031
  1. From 47dcb3843e02abb69c52d6f0021bd2816b8317a5 Mon Sep 17 00:00:00 2001
  2. From: Rudi Heitbaum <rudi@heitbaum.com>
  3. Date: Thu, 27 Apr 2023 02:46:59 +1000
  4. Subject: [PATCH] include missing <cstdint> to support gcc-13
  5. gcc 13 moved some includes around and as a result <cstdint> is no longer transitively
  6. included [1]. Explicitly include it for uint{32,64}_t.
  7. [1] https://gcc.gnu.org/gcc-13/porting_to.html#header-dep-changes
  8. Signed-off-by: Rudi Heitbaum <rudi@heitbaum.com>
  9. Upstream: https://github.com/xbmc/imagedecoder.heif/commit/47dcb3843e02abb69c52d6f0021bd2816b8317a5
  10. Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
  11. ---
  12. lib/TinyEXIF/TinyEXIF.h | 1 +
  13. 1 file changed, 1 insertion(+)
  14. diff --git a/lib/TinyEXIF/TinyEXIF.h b/lib/TinyEXIF/TinyEXIF.h
  15. index 56354aa..b03d36b 100644
  16. --- a/lib/TinyEXIF/TinyEXIF.h
  17. +++ b/lib/TinyEXIF/TinyEXIF.h
  18. @@ -34,6 +34,7 @@
  19. #ifndef __TINYEXIF_H__
  20. #define __TINYEXIF_H__
  21. +#include <cstdint>
  22. #include <string>
  23. #include <vector>