commit bbfeb7f64261bba17bef368bcb6821c779e54c9c
Author: Tom Callaway <spot(a)fedoraproject.org>
Date: Fri Mar 15 12:11:37 2019 -0400
add aarch64 crashpad compile fix
Signed-off-by: Akarshan Biswas <akarshan.biswas(a)gmail.com>
chromium-73.0.3683.75-aarch64-crashpad-limits.patch | 11 +++++++++++
chromium-freeworld.spec | 3 +++
2 files changed, 14 insertions(+)
---
diff --git a/chromium-73.0.3683.75-aarch64-crashpad-limits.patch
b/chromium-73.0.3683.75-aarch64-crashpad-limits.patch
new file mode 100644
index 0000000..4eb9529
--- /dev/null
+++ b/chromium-73.0.3683.75-aarch64-crashpad-limits.patch
@@ -0,0 +1,11 @@
+diff -up
chromium-73.0.3683.75/third_party/crashpad/crashpad/snapshot/linux/cpu_context_linux.cc.aarch64-limits
chromium-73.0.3683.75/third_party/crashpad/crashpad/snapshot/linux/cpu_context_linux.cc
+---
chromium-73.0.3683.75/third_party/crashpad/crashpad/snapshot/linux/cpu_context_linux.cc.aarch64-limits 2019-03-15
12:08:21.208676651 -0400
++++
chromium-73.0.3683.75/third_party/crashpad/crashpad/snapshot/linux/cpu_context_linux.cc 2019-03-15
12:08:40.934251685 -0400
+@@ -16,6 +16,7 @@
+
+ #include <stddef.h>
+ #include <string.h>
++#include <limits>
+
+ #include "base/logging.h"
+
diff --git a/chromium-freeworld.spec b/chromium-freeworld.spec
index e83fa5d..badebb6 100644
--- a/chromium-freeworld.spec
+++ b/chromium-freeworld.spec
@@ -318,6 +318,8 @@
Patch135: chromium-73.0.3683.75-disable-fno-delete-null-pointer-checks.patch
Patch136: chromium-73.0.3683.75-pipewire-cstring-fix.patch
# Conditionalize header-hygiene flags for clang
Patch137: chromium-73.0.3683.75-no-header-hygiene.patch
+# Add missing #include <limits> needed to build crashpad for aarch64
+Patch138: chromium-73.0.3683.75-aarch64-crashpad-limits.patch
# Use chromium-latest.py to generate clean tarball from released build tarballs, found
here:
#
http://build.chromium.org/buildbot/official/
@@ -889,6 +891,7 @@ udev.
%patch135 -p1 -b .disable-ndnpc
%patch136 -p1 -b .cstring-fix
%patch137 -p1 -b .nohh
+%patch138 -p1 -b .aarch64-limits
# Change shebang in all relevant files in this directory and all subdirectories
# See `man find` for how the `-exec command {} +` syntax works