summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2023-01-23 18:37:56 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-01-24 22:06:51 +0000
commit71e301efc479f2f39b233e838ad0e357f606347a (patch)
tree12553da4d62fa8c17600925ffaa813c11d3d8476 /meta
parent0da624001a20afb24ae856f1eb411a6d95e737bf (diff)
downloadpoky-71e301efc479f2f39b233e838ad0e357f606347a.tar.gz
vulkan-samples: Include missing header cstdint for uint32_t
(From OE-Core rev: 47f6a75960b3af2be7f45fd06e2fb73549b6933b) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-graphics/vulkan/vulkan-samples/0001-parser.h-Including-missing-cstdint.patch37
-rw-r--r--meta/recipes-graphics/vulkan/vulkan-samples_git.bb1
2 files changed, 38 insertions, 0 deletions
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 0000000000..3f6b37dce1
--- /dev/null
+++ b/meta/recipes-graphics/vulkan/vulkan-samples/0001-parser.h-Including-missing-cstdint.patch
@@ -0,0 +1,37 @@
1From 590bd5f81207bb55bd02b4a37f73a1f64dac452d Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Mon, 23 Jan 2023 13:20:58 -0800
4Subject: [PATCH] parser.h: Including missing <cstdint>
5
6This is needed from gcc-13+ see [1]
7
8Fixes
9
10../git/framework/platform/parser.h:282:43: error: 'uint32_t' does not name a type
11 282 | *type = static_cast<uint32_t>(number);
12 | ^~~~~~~~
13../git/framework/platform/parser.h:21:1: note: 'uint32_t' is defined in header '<cstdint>'; did you forget to '#include <cstdint>'?
14
15[1] https://www.gnu.org/software/gcc/gcc-13/porting_to.html
16
17Upstream-Status: Submitted [https://github.com/KhronosGroup/Vulkan-Samples/pull/602]
18Signed-off-by: Khem Raj <raj.khem@gmail.com>
19---
20 framework/platform/parser.h | 1 +
21 1 file changed, 1 insertion(+)
22
23diff --git a/framework/platform/parser.h b/framework/platform/parser.h
24index 215f3d80..a5bd1344 100644
25--- a/framework/platform/parser.h
26+++ b/framework/platform/parser.h
27@@ -18,6 +18,7 @@
28 #pragma once
29
30 #include <cassert>
31+#include <cstdint>
32 #include <string>
33 #include <typeindex>
34 #include <vector>
35--
362.39.1
37
diff --git a/meta/recipes-graphics/vulkan/vulkan-samples_git.bb b/meta/recipes-graphics/vulkan/vulkan-samples_git.bb
index 7f52cb66c9..c0ce393201 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
9 file://debugfix.patch \ 9 file://debugfix.patch \
10 file://0001-Do-not-use-LFS64-functions-on-linux-musl.patch;patchdir=third_party/spdlog \ 10 file://0001-Do-not-use-LFS64-functions-on-linux-musl.patch;patchdir=third_party/spdlog \
11 file://0001-Deprecate-u8string_view.patch;patchdir=third_party/spdlog \ 11 file://0001-Deprecate-u8string_view.patch;patchdir=third_party/spdlog \
12 file://0001-parser.h-Including-missing-cstdint.patch \
12 " 13 "
13 14
14UPSTREAM_CHECK_COMMITS = "1" 15UPSTREAM_CHECK_COMMITS = "1"