kumquat-buildroot/package/kodi-imagedecoder-heif/0001-include-missing-cstdint-to-support-gcc-13.patch
Bernd Kuhls 7b0565fc9d package/kodi-imagedecoder-heif: fix build with gcc-13
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2023-08-09 23:43:12 +02:00

32 lines
965 B
Diff

From 47dcb3843e02abb69c52d6f0021bd2816b8317a5 Mon Sep 17 00:00:00 2001
From: Rudi Heitbaum <rudi@heitbaum.com>
Date: Thu, 27 Apr 2023 02:46:59 +1000
Subject: [PATCH] include missing <cstdint> to support gcc-13
gcc 13 moved some includes around and as a result <cstdint> 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 <rudi@heitbaum.com>
Upstream: https://github.com/xbmc/imagedecoder.heif/commit/47dcb3843e02abb69c52d6f0021bd2816b8317a5
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
---
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 <cstdint>
#include <string>
#include <vector>