Skip to content

Commit 93d46b2

Browse files
committed
chromium: Add a patch to fix build against GLIBC 2.43
Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
1 parent 58cef3e commit 93d46b2

2 files changed

Lines changed: 17 additions & 0 deletions

File tree

meta-chromium/recipes-browser/chromium/chromium-gn.inc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ SRC_URI += "\
3232
file://0013-Reduce-minimum-browser-window-width-to-480px.patch \
3333
file://0001-Fix-building-gpu_host_impl.cc-on-Linux.patch \
3434
${@ '' if rust_is_newer_than_190(d) else 'file://chromium-142-crabbyavif-rust18x.patch'} \
35+
file://fix-SYS_SECCOMP-redefinition.patch \
3536
"
3637

3738
# ARM/AArch64-specific patches.
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
Taken from:
2+
https://aur.archlinux.org/cgit/aur.git/tree/0007-qt5-webengine-glibc-2.43-SYS_SECCOMP-as-enum@chromium.patch?h=qt5-webengine
3+
4+
Upstream-Status: Inappropriate [glibc 2.43 fix]
5+
diff --git a/sandbox/linux/system_headers/linux_seccomp.h b/sandbox/linux/system_headers/linux_seccomp.h
6+
index 8690a96eb01b1..8988836508c7b 100644
7+
--- a/sandbox/linux/system_headers/linux_seccomp.h
8+
+++ b/sandbox/linux/system_headers/linux_seccomp.h
9+
@@ -6,6 +6,7 @@
10+
#define SANDBOX_LINUX_SYSTEM_HEADERS_LINUX_SECCOMP_H_
11+
12+
#include <stdint.h>
13+
+#include <signal.h>
14+
#include <sys/ioctl.h>
15+
16+
#include "build/build_config.h"

0 commit comments

Comments
 (0)