fix epel7 bits

epel8
Tom Callaway 4 years ago
parent 21506a9ed5
commit fb8956b8a8

@ -0,0 +1,14 @@
diff -up chromium-86.0.4240.75/sandbox/policy/linux/bpf_cros_amd_gpu_policy_linux.cc.epel7-kcmp chromium-86.0.4240.75/sandbox/policy/linux/bpf_cros_amd_gpu_policy_linux.cc
--- chromium-86.0.4240.75/sandbox/policy/linux/bpf_cros_amd_gpu_policy_linux.cc.epel7-kcmp 2020-10-19 11:33:27.395594061 -0400
+++ chromium-86.0.4240.75/sandbox/policy/linux/bpf_cros_amd_gpu_policy_linux.cc 2020-10-19 11:33:41.703706818 -0400
@@ -6,7 +6,9 @@
#include <errno.h>
#include <fcntl.h>
-#include <linux/kcmp.h>
+#ifndef KCMP_FILE
+#define KCMP_FILE 0
+#endif
#include <sys/socket.h>
// Some arch's (arm64 for instance) unistd.h don't pull in symbols used here

@ -274,7 +274,7 @@ Patch101: chromium-75.0.3770.100-epel7-stdc++.patch
# el7 only patch
Patch102: chromium-80.0.3987.132-el7-noexcept.patch
# No linux/kcmp.h on EPEL7
Patch103: chromium-84.0.4147.89-epel7-no-kcmp-h.patch
Patch103: chromium-86.0.4240.75-epel7-no-kcmp-h.patch
# Use old cups (chromium's code workaround breaks on gcc)
# Revert: https://github.com/chromium/chromium/commit/c3213f8779ddc427e89d982514185ed5e4c94e91
Patch104: chromium-84.0.4147.89-epel7-old-cups.patch
@ -894,10 +894,6 @@ udev.
%patch108 -p1 -b .el7-old-libdrm
%endif
%if 0%{?rhel} == 7 || 0%{?rhel} == 8
%patch106 -p1 -b .el-clang
%endif
%if 0%{?rhel} == 8
%patch107 -p1 -b .el8-arm-incompatible-ints
%endif

Loading…
Cancel
Save