diff options
Diffstat (limited to 'meta/recipes-sato/webkit/webkitgtk/4977290ab4ab35258a6da9b13795c9b0f7894bf4.patch')
-rw-r--r-- | meta/recipes-sato/webkit/webkitgtk/4977290ab4ab35258a6da9b13795c9b0f7894bf4.patch | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/meta/recipes-sato/webkit/webkitgtk/4977290ab4ab35258a6da9b13795c9b0f7894bf4.patch b/meta/recipes-sato/webkit/webkitgtk/4977290ab4ab35258a6da9b13795c9b0f7894bf4.patch new file mode 100644 index 0000000000..79da855ff4 --- /dev/null +++ b/meta/recipes-sato/webkit/webkitgtk/4977290ab4ab35258a6da9b13795c9b0f7894bf4.patch | |||
@@ -0,0 +1,41 @@ | |||
1 | From 4977290ab4ab35258a6da9b13795c9b0f7894bf4 Mon Sep 17 00:00:00 2001 | ||
2 | From: Diego Pino Garcia <dpino@igalia.com> | ||
3 | Date: Mon, 22 May 2023 19:58:50 -0700 | ||
4 | Subject: [PATCH] [GLIB] Fix build error after 264196@main | ||
5 | https://bugs.webkit.org/show_bug.cgi?id=256917 | ||
6 | |||
7 | Reviewed by Michael Catanzaro. | ||
8 | |||
9 | Variable BWRAP_EXECUTABLE is only defined when BUBBLEWRAP_SANDBOX is | ||
10 | enabled. | ||
11 | |||
12 | * Source/WTF/wtf/glib/Sandbox.cpp: | ||
13 | (WTF::isInsideUnsupportedContainer): | ||
14 | |||
15 | Canonical link: https://commits.webkit.org/264395@main | ||
16 | Upstream-Status: Backport [https://github.com/WebKit/WebKit/commit/4977290ab4ab35258a6da9b13795c9b0f7894bf4] | ||
17 | Signed-off-by: Alexander Kanavin <alex@linutronix.de> | ||
18 | --- | ||
19 | Source/WTF/wtf/glib/Sandbox.cpp | 2 ++ | ||
20 | 1 file changed, 2 insertions(+) | ||
21 | |||
22 | diff --git a/Source/WTF/wtf/glib/Sandbox.cpp b/Source/WTF/wtf/glib/Sandbox.cpp | ||
23 | index 7d84e830ab33e..9b07bb8cb5a9b 100644 | ||
24 | --- a/Source/WTF/wtf/glib/Sandbox.cpp | ||
25 | +++ b/Source/WTF/wtf/glib/Sandbox.cpp | ||
26 | @@ -36,6 +36,7 @@ bool isInsideFlatpak() | ||
27 | return returnValue; | ||
28 | } | ||
29 | |||
30 | +#if ENABLE(BUBBLEWRAP_SANDBOX) | ||
31 | bool isInsideUnsupportedContainer() | ||
32 | { | ||
33 | static bool inContainer = g_file_test("/run/.containerenv", G_FILE_TEST_EXISTS); | ||
34 | @@ -64,6 +65,7 @@ bool isInsideUnsupportedContainer() | ||
35 | |||
36 | return inContainer && !supportedContainer; | ||
37 | } | ||
38 | +#endif | ||
39 | |||
40 | bool isInsideSnap() | ||
41 | { | ||