diff --git a/glib-dep.patch b/glib-dep.patch new file mode 100644 index 0000000..dbc0ab6 --- /dev/null +++ b/glib-dep.patch @@ -0,0 +1,13 @@ +diff --git a/Source/WTF/wtf/glib/Sandbox.cpp b/Source/WTF/wtf/glib/Sandbox.cpp +index 9b07bb8cb5a9b..a8169511fe851 100644 +--- a/Source/WTF/wtf/glib/Sandbox.cpp ++++ b/Source/WTF/wtf/glib/Sandbox.cpp +@@ -58,7 +58,7 @@ bool isInsideUnsupportedContainer() + int waitStatus = 0; + gboolean spawnSucceeded = g_spawn_sync(nullptr, const_cast(bwrapArgs), nullptr, + G_SPAWN_STDERR_TO_DEV_NULL, nullptr, nullptr, nullptr, nullptr, &waitStatus, nullptr); +- supportedContainer = spawnSucceeded && g_spawn_check_wait_status(waitStatus, nullptr); ++ supportedContainer = spawnSucceeded && g_spawn_check_exit_status(waitStatus, nullptr); + if (!supportedContainer) + WTFLogAlways("Bubblewrap does not work inside of this container, sandboxing will be disabled."); + }