From 20e8a02477f32b4e05d30fbd94fb99008c10ea11 Mon Sep 17 00:00:00 2001 From: Adam Duskett Date: Sat, 2 Dec 2023 21:18:36 -0700 Subject: [PATCH] package/google-breakpad: fix building with gcc 13.x MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes the following error when building with gcc 13.x: ‘uintptr_t’ is defined in header ‘’; did you forget to ‘#include ’? Fixes: http://autobuild.buildroot.net/results/73f17ec308b6fd20dabdb7e391a3f67793a14d5b/ (which happens with the target google-breakpad, but the issue can also happen when building host-google-breakpad if the host system uses gcc 13.x) Signed-off-by: Adam Duskett [Thomas: use upstream fix, improve commit log] Signed-off-by: Thomas Petazzoni (cherry picked from commit 08fa882d3c443ee9b7a956e84a87e60af8a7a7dd) Signed-off-by: Peter Korsgaard --- ...-gcc-13-cannot-use-uintptr_t-via-inc.patch | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 package/google-breakpad/0001-mainline-version-gcc-13-cannot-use-uintptr_t-via-inc.patch diff --git a/package/google-breakpad/0001-mainline-version-gcc-13-cannot-use-uintptr_t-via-inc.patch b/package/google-breakpad/0001-mainline-version-gcc-13-cannot-use-uintptr_t-via-inc.patch new file mode 100644 index 0000000000..2c3619b74b --- /dev/null +++ b/package/google-breakpad/0001-mainline-version-gcc-13-cannot-use-uintptr_t-via-inc.patch @@ -0,0 +1,30 @@ +From 7ea7ded187b4d739239f3ab7082fcd5a2ccc1eaa Mon Sep 17 00:00:00 2001 +From: mingtaoxt xt +Date: Wed, 19 Oct 2022 19:36:13 +0800 +Subject: [PATCH] mainline version gcc-13 cannot use "uintptr_t" via "#include + " + +Change-Id: I0049bb92658b4226e32783ad4d8271787deef5f3 +Reviewed-on: https://chromium-review.googlesource.com/c/breakpad/breakpad/+/3964166 +Reviewed-by: Mike Frysinger +Upstream: https://chromium.googlesource.com/breakpad/breakpad/+/7ea7ded187b4d739239f3ab7082fcd5a2ccc1eaa +Signed-off-by: Thomas Petazzoni +--- + src/client/linux/handler/minidump_descriptor.h | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/client/linux/handler/minidump_descriptor.h b/src/client/linux/handler/minidump_descriptor.h +index 4349b88f..d822c9d9 100644 +--- a/src/client/linux/handler/minidump_descriptor.h ++++ b/src/client/linux/handler/minidump_descriptor.h +@@ -32,6 +32,7 @@ + #include + #include + ++#include + #include + + #include "client/linux/handler/microdump_extra_info.h" +-- +2.43.0 +