diff options
| author | Khem Raj <raj.khem@gmail.com> | 2023-01-29 17:12:09 -0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2023-01-29 21:09:39 -0800 |
| commit | 817ef78198cdb0d6dfeaa23d39307dcc2f8d840f (patch) | |
| tree | b580ca23fa24cf3c9f5f38e013ae761b68c273a0 | |
| parent | 426a1e4f8f2e3318b0518ffbb29d8caa769450e2 (diff) | |
| download | meta-openembedded-817ef78198cdb0d6dfeaa23d39307dcc2f8d840f.tar.gz | |
breakpad: Fix build with gcc13
Signed-off-by: Khem Raj <raj.khem@gmail.com>
| -rw-r--r-- | meta-oe/recipes-devtools/breakpad/breakpad/0001-mainline-version-gcc-13-cannot-use-uintptr_t-via-inc.patch | 30 | ||||
| -rw-r--r-- | meta-oe/recipes-devtools/breakpad/breakpad_git.bb | 1 |
2 files changed, 31 insertions, 0 deletions
diff --git a/meta-oe/recipes-devtools/breakpad/breakpad/0001-mainline-version-gcc-13-cannot-use-uintptr_t-via-inc.patch b/meta-oe/recipes-devtools/breakpad/breakpad/0001-mainline-version-gcc-13-cannot-use-uintptr_t-via-inc.patch new file mode 100644 index 0000000000..d6d326dd03 --- /dev/null +++ b/meta-oe/recipes-devtools/breakpad/breakpad/0001-mainline-version-gcc-13-cannot-use-uintptr_t-via-inc.patch | |||
| @@ -0,0 +1,30 @@ | |||
| 1 | From 7ea7ded187b4d739239f3ab7082fcd5a2ccc1eaa Mon Sep 17 00:00:00 2001 | ||
| 2 | From: mingtaoxt xt <mingtaoxt@gmail.com> | ||
| 3 | Date: Wed, 19 Oct 2022 19:36:13 +0800 | ||
| 4 | Subject: [PATCH] mainline version gcc-13 cannot use "uintptr_t" via "#include <string>" | ||
| 5 | |||
| 6 | Change-Id: I0049bb92658b4226e32783ad4d8271787deef5f3 | ||
| 7 | Reviewed-on: https://chromium-review.googlesource.com/c/breakpad/breakpad/+/3964166 | ||
| 8 | Reviewed-by: Mike Frysinger <vapier@chromium.org> | ||
| 9 | |||
| 10 | Upstream-Status: Backport [https://chromium-review.googlesource.com/c/breakpad/breakpad/+/3964166] | ||
| 11 | Signed-of-by: Khem Raj <raj.khem@gmail.com> | ||
| 12 | --- | ||
| 13 | src/client/linux/handler/minidump_descriptor.h | 1 + | ||
| 14 | 1 file changed, 1 insertion(+) | ||
| 15 | |||
| 16 | diff --git a/src/client/linux/handler/minidump_descriptor.h b/src/client/linux/handler/minidump_descriptor.h | ||
| 17 | index 4349b88f..d822c9d9 100644 | ||
| 18 | --- a/src/client/linux/handler/minidump_descriptor.h | ||
| 19 | +++ b/src/client/linux/handler/minidump_descriptor.h | ||
| 20 | @@ -32,6 +32,7 @@ | ||
| 21 | #include <assert.h> | ||
| 22 | #include <sys/types.h> | ||
| 23 | |||
| 24 | +#include <cstdint> | ||
| 25 | #include <string> | ||
| 26 | |||
| 27 | #include "client/linux/handler/microdump_extra_info.h" | ||
| 28 | -- | ||
| 29 | 2.39.1 | ||
| 30 | |||
diff --git a/meta-oe/recipes-devtools/breakpad/breakpad_git.bb b/meta-oe/recipes-devtools/breakpad/breakpad_git.bb index c752a10083..d1d338c6a8 100644 --- a/meta-oe/recipes-devtools/breakpad/breakpad_git.bb +++ b/meta-oe/recipes-devtools/breakpad/breakpad_git.bb | |||
| @@ -41,6 +41,7 @@ SRC_URI = "git://github.com/google/breakpad;name=breakpad;branch=main;protocol=h | |||
| 41 | file://mcontext.patch \ | 41 | file://mcontext.patch \ |
| 42 | file://0001-Remove-HAVE_GETCONTEXT-check-to-add-local-implementa.patch \ | 42 | file://0001-Remove-HAVE_GETCONTEXT-check-to-add-local-implementa.patch \ |
| 43 | file://0001-exception_handler.cc-Match-the-types-for-SIGSTKSZ.patch \ | 43 | file://0001-exception_handler.cc-Match-the-types-for-SIGSTKSZ.patch \ |
| 44 | file://0001-mainline-version-gcc-13-cannot-use-uintptr_t-via-inc.patch \ | ||
| 44 | file://0001-lss-Match-syscalls-to-match-musl.patch;patchdir=src/third_party/lss \ | 45 | file://0001-lss-Match-syscalls-to-match-musl.patch;patchdir=src/third_party/lss \ |
| 45 | file://mips_asm_sgidefs.patch;patchdir=src/third_party/lss \ | 46 | file://mips_asm_sgidefs.patch;patchdir=src/third_party/lss \ |
| 46 | file://0001-Do-not-add-stack-pointer-to-clobber-list.patch;patchdir=src/third_party/lss \ | 47 | file://0001-Do-not-add-stack-pointer-to-clobber-list.patch;patchdir=src/third_party/lss \ |
