fix aarch64 compile in rawhide
This commit is contained in:
parent
9debcb008e
commit
2484dd808e
12
chromium-61.0.3163.79-aarch64-glibc-2.26.90.patch
Normal file
12
chromium-61.0.3163.79-aarch64-glibc-2.26.90.patch
Normal file
@ -0,0 +1,12 @@
|
||||
diff -up chromium-61.0.3163.79/breakpad/src/client/linux/handler/exception_handler.cc.aarchglibc chromium-61.0.3163.79/breakpad/src/client/linux/handler/exception_handler.cc
|
||||
--- chromium-61.0.3163.79/breakpad/src/client/linux/handler/exception_handler.cc.aarchglibc 2017-09-12 09:34:39.417504561 -0400
|
||||
+++ chromium-61.0.3163.79/breakpad/src/client/linux/handler/exception_handler.cc 2017-09-12 09:35:01.512009768 -0400
|
||||
@@ -461,7 +461,7 @@ bool ExceptionHandler::HandleSignal(int
|
||||
#if defined(__aarch64__)
|
||||
struct ucontext* uc_ptr = (struct ucontext*)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));
|
@ -214,6 +214,8 @@ Patch55: chromium-61.0.3163.79-gtk2fix.patch
|
||||
# Fix atk compile
|
||||
# https://chromium-review.googlesource.com/c/chromium/src/+/580927
|
||||
Patch56: chromium-61.0.3163.79-fix-atk-compile.patch
|
||||
# Only needed when glibc 2.26.90 or later is used
|
||||
Patch57: chromium-61.0.3163.79-aarch64-glibc-2.26.90.patch
|
||||
|
||||
### Chromium Tests Patches ###
|
||||
Patch100: chromium-46.0.2490.86-use_system_opus.patch
|
||||
@ -663,6 +665,9 @@ udev.
|
||||
%patch54 -p1 -b .gcc5fix
|
||||
%patch55 -p1 -b .gtk2fix
|
||||
%patch56 -p1 -b .atkfix
|
||||
%if 0%{?fedora} >= 28
|
||||
%patch57 -p1 -b .aarch64glibc
|
||||
%endif
|
||||
|
||||
### Chromium Tests Patches ###
|
||||
%patch100 -p1 -b .use_system_opus
|
||||
|
Loading…
Reference in New Issue
Block a user