commit 42ed3387ba51a57ed74bf5b7ce4e1a4c7591cd14
Author: Tom Callaway <spot(a)fedoraproject.org>
Date: Tue Dec 12 09:59:11 2017 -0500
fix aarch64 patch
chromium-63.0.3289.84-aarch64-glibc-2.26.90.patch | 12 ++++++++++++
chromium.spec | 2 +-
2 files changed, 13 insertions(+), 1 deletion(-)
---
diff --git a/chromium-63.0.3289.84-aarch64-glibc-2.26.90.patch
b/chromium-63.0.3289.84-aarch64-glibc-2.26.90.patch
new file mode 100644
index 0000000..469d680
--- /dev/null
+++ b/chromium-63.0.3289.84-aarch64-glibc-2.26.90.patch
@@ -0,0 +1,12 @@
+diff -up
chromium-63.0.3239.84/third_party/breakpad/breakpad/src/client/linux/handler/exception_handler.cc.aarch64glibc
chromium-63.0.3239.84/third_party/breakpad/breakpad/src/client/linux/handler/exception_handler.cc
+---
chromium-63.0.3239.84/third_party/breakpad/breakpad/src/client/linux/handler/exception_handler.cc.aarch64glibc 2017-12-12
09:56:24.469343868 -0500
++++
chromium-63.0.3239.84/third_party/breakpad/breakpad/src/client/linux/handler/exception_handler.cc 2017-12-12
09:56:38.468071095 -0500
+@@ -461,7 +461,7 @@ bool ExceptionHandler::HandleSignal(int
+ #if defined(__aarch64__)
+ ucontext_t* uc_ptr = (ucontext_t*)uc;
+ struct fpsimd_context* fp_ptr =
+- (struct fpsimd_context*)&uc_ptr->uc_mcontext.__reserved;
++ (struct fpsimd_context*)&uc_ptr->uc_mcontext.__glibc_reserved1;
+ if (fp_ptr->head.magic == FPSIMD_MAGIC) {
+ memcpy(&g_crash_context_.float_state, fp_ptr,
+ sizeof(g_crash_context_.float_state));
diff --git a/chromium.spec b/chromium.spec
index f9ee009..d422b33 100644
--- a/chromium.spec
+++ b/chromium.spec
@@ -196,7 +196,7 @@
Patch50: chromium-60.0.3112.113-libavutil-timer-include-path-fix.patch
# from gentoo
Patch53: chromium-61.0.3163.79-gcc-no-opt-safe-math.patch
# Only needed when glibc 2.26.90 or later is used
-Patch57: chromium-61.0.3163.79-aarch64-glibc-2.26.90.patch
+Patch57: chromium-63.0.3289.84-aarch64-glibc-2.26.90.patch
# More gcc fixes for epel
Patch58: chromium-62.0.3202.62-dde535-gcc-fix.patch
Patch59: chromium-62.0.3202.62-gcc-nc.patch