mirror of
https://abf.rosa.ru/djam/chromium-browser-stable-test.git
synced 2025-02-23 17:42:45 +00:00
Fix building on rosa2016.1
Commit 6aceefa0d9
removed this patch but it is needed for rosa2016.1
This commit is contained in:
parent
81854066c6
commit
69ea46bbc8
2 changed files with 29 additions and 0 deletions
26
chromium-86.0.4240.80-fcntl-h.patch
Normal file
26
chromium-86.0.4240.80-fcntl-h.patch
Normal file
|
@ -0,0 +1,26 @@
|
|||
diff -up chromium-86.0.4240.75/sandbox/policy/linux/bpf_gpu_policy_linux.cc.epel7-kcmp chromium-86.0.4240.75/sandbox/policy/linux/bpf_gpu_policy_linux.cc
|
||||
--- chromium-86.0.4240.75/sandbox/policy/linux/bpf_gpu_policy_linux.cc.epel7-kcmp 2020-10-20 11:58:00.449812627 -0400
|
||||
+++ chromium-86.0.4240.75/sandbox/policy/linux/bpf_gpu_policy_linux.cc 2020-10-20 11:58:32.919071919 -0400
|
||||
@@ -22,6 +22,22 @@
|
||||
#include "sandbox/policy/linux/sandbox_linux.h"
|
||||
#include "sandbox/policy/linux/sandbox_seccomp_bpf_linux.h"
|
||||
|
||||
+#ifndef F_LINUX_SPECIFIC_BASE
|
||||
+#define F_LINUX_SPECIFIC_BASE 1024
|
||||
+#endif
|
||||
+#ifndef F_SEAL_SEAL
|
||||
+#define F_SEAL_SEAL 0x0001
|
||||
+#endif
|
||||
+#ifndef F_SEAL_SHRINK
|
||||
+#define F_SEAL_SHRINK 0x0002
|
||||
+#endif
|
||||
+#ifndef F_SEAL_GROW
|
||||
+#define F_SEAL_GROW 0x0004
|
||||
+#endif
|
||||
+#ifndef F_ADD_SEALS
|
||||
+#define F_ADD_SEALS (F_LINUX_SPECIFIC_BASE + 9)
|
||||
+#endif
|
||||
+
|
||||
using sandbox::bpf_dsl::Allow;
|
||||
using sandbox::bpf_dsl::Arg;
|
||||
using sandbox::bpf_dsl::Error;
|
|
@ -124,6 +124,8 @@ Patch601: chromium-62-include-cstdlib.patch
|
|||
# https://mirror.yandex.ru/gentoo-portage/www-client/chromium/files/
|
||||
Patch604: chromium-compiler-r4.patch
|
||||
# Add "ROSA" to the user agent string
|
||||
# Fix build /sandbox/policy/linux/bpf_gpu_policy_linux.cc on rosa2016.1
|
||||
Patch637: chromium-86.0.4240.80-fcntl-h.patch
|
||||
Patch627: chromium-68.0.3440.106-rosa-user-agent.patch
|
||||
# Fix building third_party/wayland on rosa2016.1
|
||||
Patch639: wayland-strndup.patch
|
||||
|
@ -361,6 +363,7 @@ cp -f %{_gostsourcedir}/src/msspi/third_party/cprocsp/include/* third_party/bori
|
|||
#patch604 -p1
|
||||
|
||||
%patch627 -p1
|
||||
%patch637 -p1
|
||||
%patch639 -p1
|
||||
%patch640 -p1
|
||||
%patch643 -p1
|
||||
|
|
Loading…
Add table
Reference in a new issue