summaryrefslogtreecommitdiffstats
path: root/meta/recipes-sato/webkit/webkitgtk/4977290ab4ab35258a6da9b13795c9b0f7894bf4.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-sato/webkit/webkitgtk/4977290ab4ab35258a6da9b13795c9b0f7894bf4.patch')
-rw-r--r--meta/recipes-sato/webkit/webkitgtk/4977290ab4ab35258a6da9b13795c9b0f7894bf4.patch41
1 files changed, 0 insertions, 41 deletions
diff --git a/meta/recipes-sato/webkit/webkitgtk/4977290ab4ab35258a6da9b13795c9b0f7894bf4.patch b/meta/recipes-sato/webkit/webkitgtk/4977290ab4ab35258a6da9b13795c9b0f7894bf4.patch
deleted file mode 100644
index 79da855ff4..0000000000
--- a/meta/recipes-sato/webkit/webkitgtk/4977290ab4ab35258a6da9b13795c9b0f7894bf4.patch
+++ /dev/null
@@ -1,41 +0,0 @@
1From 4977290ab4ab35258a6da9b13795c9b0f7894bf4 Mon Sep 17 00:00:00 2001
2From: Diego Pino Garcia <dpino@igalia.com>
3Date: Mon, 22 May 2023 19:58:50 -0700
4Subject: [PATCH] [GLIB] Fix build error after 264196@main
5 https://bugs.webkit.org/show_bug.cgi?id=256917
6
7Reviewed by Michael Catanzaro.
8
9Variable BWRAP_EXECUTABLE is only defined when BUBBLEWRAP_SANDBOX is
10enabled.
11
12* Source/WTF/wtf/glib/Sandbox.cpp:
13(WTF::isInsideUnsupportedContainer):
14
15Canonical link: https://commits.webkit.org/264395@main
16Upstream-Status: Backport [https://github.com/WebKit/WebKit/commit/4977290ab4ab35258a6da9b13795c9b0f7894bf4]
17Signed-off-by: Alexander Kanavin <alex@linutronix.de>
18---
19 Source/WTF/wtf/glib/Sandbox.cpp | 2 ++
20 1 file changed, 2 insertions(+)
21
22diff --git a/Source/WTF/wtf/glib/Sandbox.cpp b/Source/WTF/wtf/glib/Sandbox.cpp
23index 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 {