From 04dfeff6242516a1061973fc7af2cc9c5e3dd4e2 Mon Sep 17 00:00:00 2001 From: Giulio Benetti Date: Mon, 22 Jan 2024 23:30:37 +0100 Subject: [PATCH] package/uuu: fix build failure with host gcc 13.x With gcc version >= 13.x stdint.h must be explicitly included according to [0] so backport a commit to explicitly include stdint.h. [0]: https://gcc.gnu.org/gcc-13/porting_to.html Fixes: still not happened Signed-off-by: Giulio Benetti Signed-off-by: Giulio Benetti Reviewed-by: Dario Binacchi Signed-off-by: Yann E. MORIN --- package/uuu/0001-Fix-missing-references.patch | 40 +++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 package/uuu/0001-Fix-missing-references.patch diff --git a/package/uuu/0001-Fix-missing-references.patch b/package/uuu/0001-Fix-missing-references.patch new file mode 100644 index 0000000000..140c9755c7 --- /dev/null +++ b/package/uuu/0001-Fix-missing-references.patch @@ -0,0 +1,40 @@ +From 24fd043225903247f71ac10666d820277c0b10b1 Mon Sep 17 00:00:00 2001 +From: nixgnauhcuy +Date: Tue, 9 May 2023 14:32:33 +0800 +Subject: [PATCH] Fix missing references + +Upstream: https://github.com/nxp-imx/mfgtools/commit/24fd043225903247f71ac10666d820277c0b10b1 + +Signed-off-by: Giulio Benetti +--- + libuuu/libcomm.h | 1 + + uuu/buildincmd.h | 1 + + 2 files changed, 2 insertions(+) + +diff --git a/libuuu/libcomm.h b/libuuu/libcomm.h +index 0afdfa3..38d622d 100644 +--- a/libuuu/libcomm.h ++++ b/libuuu/libcomm.h +@@ -28,6 +28,7 @@ + * POSSIBILITY OF SUCH DAMAGE. + * + */ ++#include + #include + #include + #include +diff --git a/uuu/buildincmd.h b/uuu/buildincmd.h +index 9415117..46286cc 100644 +--- a/uuu/buildincmd.h ++++ b/uuu/buildincmd.h +@@ -31,6 +31,7 @@ + + #pragma once + ++#include + #include + #include + #include +-- +2.34.1 +