From: Khem Raj Date: Tue, 24 Jan 2023 02:37:56 +0000 (-0800) Subject: vulkan-samples: Include missing header cstdint for uint32_t X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~1888 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=47f6a75960b3af2be7f45fd06e2fb73549b6933b;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git vulkan-samples: Include missing header cstdint for uint32_t Signed-off-by: Khem Raj Signed-off-by: Alexandre Belloni Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-graphics/vulkan/vulkan-samples/0001-parser.h-Including-missing-cstdint.patch b/meta/recipes-graphics/vulkan/vulkan-samples/0001-parser.h-Including-missing-cstdint.patch new file mode 100644 index 00000000000..3f6b37dce17 --- /dev/null +++ b/meta/recipes-graphics/vulkan/vulkan-samples/0001-parser.h-Including-missing-cstdint.patch @@ -0,0 +1,37 @@ +From 590bd5f81207bb55bd02b4a37f73a1f64dac452d Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Mon, 23 Jan 2023 13:20:58 -0800 +Subject: [PATCH] parser.h: Including missing + +This is needed from gcc-13+ see [1] + +Fixes + +../git/framework/platform/parser.h:282:43: error: 'uint32_t' does not name a type + 282 | *type = static_cast(number); + | ^~~~~~~~ +../git/framework/platform/parser.h:21:1: note: 'uint32_t' is defined in header ''; did you forget to '#include '? + +[1] https://www.gnu.org/software/gcc/gcc-13/porting_to.html + +Upstream-Status: Submitted [https://github.com/KhronosGroup/Vulkan-Samples/pull/602] +Signed-off-by: Khem Raj +--- + framework/platform/parser.h | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/framework/platform/parser.h b/framework/platform/parser.h +index 215f3d80..a5bd1344 100644 +--- a/framework/platform/parser.h ++++ b/framework/platform/parser.h +@@ -18,6 +18,7 @@ + #pragma once + + #include ++#include + #include + #include + #include +-- +2.39.1 + diff --git a/meta/recipes-graphics/vulkan/vulkan-samples_git.bb b/meta/recipes-graphics/vulkan/vulkan-samples_git.bb index 7f52cb66c90..c0ce393201e 100644 --- a/meta/recipes-graphics/vulkan/vulkan-samples_git.bb +++ b/meta/recipes-graphics/vulkan/vulkan-samples_git.bb @@ -9,6 +9,7 @@ SRC_URI = "gitsm://github.com/KhronosGroup/Vulkan-Samples.git;branch=master;prot file://debugfix.patch \ file://0001-Do-not-use-LFS64-functions-on-linux-musl.patch;patchdir=third_party/spdlog \ file://0001-Deprecate-u8string_view.patch;patchdir=third_party/spdlog \ + file://0001-parser.h-Including-missing-cstdint.patch \ " UPSTREAM_CHECK_COMMITS = "1"