diff options
author | Khem Raj <raj.khem@gmail.com> | 2023-01-30 11:06:35 -0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2023-02-01 09:11:49 -0800 |
commit | 81b769d0981b5714b4d1787b36631f5279503b0d (patch) | |
tree | 4aac092bb554d1a3f20286e9d50583f29861388f /meta-python/recipes-devtools/python/python3-grpcio | |
parent | 1ead4748deb8ab511326320870f2c616c377a599 (diff) | |
download | meta-openembedded-81b769d0981b5714b4d1787b36631f5279503b0d.tar.gz |
python3-grpcio: Fix build with gcc13
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-grpcio')
-rw-r--r-- | meta-python/recipes-devtools/python/python3-grpcio/0001-Include-missing-cstdint-header.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-grpcio/0001-Include-missing-cstdint-header.patch b/meta-python/recipes-devtools/python/python3-grpcio/0001-Include-missing-cstdint-header.patch new file mode 100644 index 000000000..f970cf3c3 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-grpcio/0001-Include-missing-cstdint-header.patch | |||
@@ -0,0 +1,32 @@ | |||
1 | From 752e30eebe5b91c323bafcbea8d450dd5683701a Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Mon, 30 Jan 2023 10:31:10 -0800 | ||
4 | Subject: [PATCH] Include missing <cstdint> header | ||
5 | |||
6 | gcc 13 moved some includes around and as a result <cstdint> is | ||
7 | no longer transitively included [1]. Explicitly include it for | ||
8 | int32_t. | ||
9 | |||
10 | [1] https://gcc.gnu.org/gcc-13/porting_to.html#header-dep-changes | ||
11 | |||
12 | Upstream-Status: Submitted [https://code-review.googlesource.com/c/re2/+/60970] | ||
13 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
14 | --- | ||
15 | third_party/re2/util/pcre.h | 1 + | ||
16 | 1 file changed, 1 insertion(+) | ||
17 | |||
18 | diff --git a/third_party/re2/util/pcre.h b/third_party/re2/util/pcre.h | ||
19 | index 896b0bd..271a005 100644 | ||
20 | --- a/third_party/re2/util/pcre.h | ||
21 | +++ b/third_party/re2/util/pcre.h | ||
22 | @@ -163,6 +163,7 @@ | ||
23 | |||
24 | #include "util/util.h" | ||
25 | #include "re2/stringpiece.h" | ||
26 | +#include <cstdint> | ||
27 | |||
28 | #ifdef USEPCRE | ||
29 | #include <pcre.h> | ||
30 | -- | ||
31 | 2.39.1 | ||
32 | |||