fix aarch64 build against latest linux kernel headers

epel8
Tom Callaway 6 years ago
parent 3558506da1
commit 35ec6a6d16

@ -0,0 +1,12 @@
diff -up chromium-70.0.3538.77/sandbox/linux/system_headers/arm64_linux_syscalls.h.aarch64-new-stat chromium-70.0.3538.77/sandbox/linux/system_headers/arm64_linux_syscalls.h
--- chromium-70.0.3538.77/sandbox/linux/system_headers/arm64_linux_syscalls.h.aarch64-new-stat 2018-11-06 13:27:05.118766581 -0500
+++ chromium-70.0.3538.77/sandbox/linux/system_headers/arm64_linux_syscalls.h 2018-11-06 13:27:34.575204504 -0500
@@ -5,6 +5,8 @@
#ifndef SANDBOX_LINUX_SYSTEM_HEADERS_ARM64_LINUX_SYSCALLS_H_
#define SANDBOX_LINUX_SYSTEM_HEADERS_ARM64_LINUX_SYSCALLS_H_
+#define __ARCH_WANT_NEW_STAT
+
#include <asm-generic/unistd.h>
#if !defined(__NR_io_setup)

@ -285,6 +285,8 @@ Patch116: chromium-gcc8-r591015.patch
Patch117: chromium-70.0.3538.67-disable-fontconfig-cache-magic.patch
# Fix build against harfbuzz2
Patch118: chromium-70.0.3538.77-harfbuzz2-fix.patch
# Fix aarch64 build against latest linux kernel headers
Patch119: chromium-70.0.3538.77-aarch64-arch-want-new-stat.patch
# Use chromium-latest.py to generate clean tarball from released build tarballs, found here:
@ -830,6 +832,7 @@ udev.
%if 0%{?fedora} >= 30
%patch118 -p1 -b .harfbuzz2
%endif
%patch119 -p1 -b .aarch64-new-stat
# Change shebang in all relevant files in this directory and all subdirectories

Loading…
Cancel
Save