Need to explicitly include a kernel header on EL7 to support MFD_CLOEXEC

epel8
Tom spot Callaway 2 years ago
parent 3ee798bef1
commit 6b11f13d37

@ -0,0 +1,11 @@
diff -up chromium-102.0.5005.115/v8/src/base/platform/platform-posix.cc.el7-memfd-include chromium-102.0.5005.115/v8/src/base/platform/platform-posix.cc
--- chromium-102.0.5005.115/v8/src/base/platform/platform-posix.cc.el7-memfd-include 2022-06-15 10:52:49.553817031 -0400
+++ chromium-102.0.5005.115/v8/src/base/platform/platform-posix.cc 2022-06-15 10:56:15.775173013 -0400
@@ -56,6 +56,7 @@
#if V8_OS_LINUX
#include <sys/prctl.h> // for prctl
+#include <linux/memfd.h> // for MFD_CLOEXEC
#endif
#if defined(V8_OS_FUCHSIA)

@ -350,6 +350,9 @@ Patch103: chromium-99.0.4844.51-epel7-old-headers-workarounds.patch
# Use old cups (chromium's code workaround breaks on gcc) # Use old cups (chromium's code workaround breaks on gcc)
# Revert: https://github.com/chromium/chromium/commit/c3213f8779ddc427e89d982514185ed5e4c94e91 # Revert: https://github.com/chromium/chromium/commit/c3213f8779ddc427e89d982514185ed5e4c94e91
Patch104: chromium-99.0.4844.51-epel7-old-cups.patch Patch104: chromium-99.0.4844.51-epel7-old-cups.patch
# Need to explicitly include a kernel header on EL7 to support MFD_CLOEXEC
Patch105: chromium-102.0.5005.115-el7-memfd-include.patch
# Still not wrong, but it seems like only EL needs it # Still not wrong, but it seems like only EL needs it
Patch106: chromium-77-clang.patch Patch106: chromium-77-clang.patch
# ARM failures on el8 related to int clashes # ARM failures on el8 related to int clashes
@ -1045,6 +1048,7 @@ udev.
# %%patch102 -p1 -b .el7-noexcept # %%patch102 -p1 -b .el7-noexcept
%patch103 -p1 -b .epel7-header-workarounds %patch103 -p1 -b .epel7-header-workarounds
%patch104 -p1 -b .el7cups %patch104 -p1 -b .el7cups
%patch105 -p1 -b .el7-memfd-include
%patch108 -p1 -b .el7-old-libdrm %patch108 -p1 -b .el7-old-libdrm
%patch109 -p1 -b .el7-erase-fix %patch109 -p1 -b .el7-erase-fix
%patch111 -p1 -b .el7-extra-operator-equalequal %patch111 -p1 -b .el7-extra-operator-equalequal

Loading…
Cancel
Save