diff options
Diffstat (limited to 'dynamic-layers/openembedded-layer/recipes-support/opencv/files/7cecc9138b89e1946e3e515727bb69b2ab119806.patch')
-rw-r--r-- | dynamic-layers/openembedded-layer/recipes-support/opencv/files/7cecc9138b89e1946e3e515727bb69b2ab119806.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/dynamic-layers/openembedded-layer/recipes-support/opencv/files/7cecc9138b89e1946e3e515727bb69b2ab119806.patch b/dynamic-layers/openembedded-layer/recipes-support/opencv/files/7cecc9138b89e1946e3e515727bb69b2ab119806.patch new file mode 100644 index 00000000..f744bd19 --- /dev/null +++ b/dynamic-layers/openembedded-layer/recipes-support/opencv/files/7cecc9138b89e1946e3e515727bb69b2ab119806.patch | |||
@@ -0,0 +1,32 @@ | |||
1 | From 7cecc9138b89e1946e3e515727bb69b2ab119806 Mon Sep 17 00:00:00 2001 | ||
2 | From: Sergei Trofimovich <slyich@gmail.com> | ||
3 | Date: Thu, 26 May 2022 07:11:37 +0100 | ||
4 | Subject: [PATCH] add missing <cstdint> header inclusion (gcc-13 support) | ||
5 | |||
6 | Without the change ade build fails on this week's gcc-13 snapshot as: | ||
7 | |||
8 | [ 77%] Building CXX object sources/ade/CMakeFiles/ade.dir/source/topological_sort.cpp.o | ||
9 | In file included from ade/sources/ade/include/ade/passes/topological_sort.hpp:17, | ||
10 | from ade/sources/ade/source/topological_sort.cpp:7: | ||
11 | ade/sources/ade/include/ade/typed_graph.hpp:101:10: error: 'uintptr_t' in namespace 'std' does not name a type | ||
12 | 101 | std::uintptr_t m_srcGraph; | ||
13 | | ^~~~~~~~~ | ||
14 | |||
15 | Upstream-Status: Backport | ||
16 | Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> | ||
17 | --- | ||
18 | sources/ade/include/ade/typed_graph.hpp | 1 + | ||
19 | 1 file changed, 1 insertion(+) | ||
20 | |||
21 | diff --git a/sources/ade/include/ade/typed_graph.hpp b/sources/ade/include/ade/typed_graph.hpp | ||
22 | index d9676e6..8a27578 100644 | ||
23 | --- a/sources/ade/include/ade/typed_graph.hpp | ||
24 | +++ b/sources/ade/include/ade/typed_graph.hpp | ||
25 | @@ -9,6 +9,7 @@ | ||
26 | #ifndef ADE_TYPED_GRAPH_HPP | ||
27 | #define ADE_TYPED_GRAPH_HPP | ||
28 | |||
29 | +#include <cstdint> | ||
30 | #include <unordered_set> | ||
31 | #include <string> | ||
32 | |||