From 44c1667fd864ad87773aa31723bd9bef88046ecf Mon Sep 17 00:00:00 2001 From: rewine Date: Fri, 9 May 2025 21:16:26 +0800 Subject: [PATCH] wlroots_0_17: Backport patch xwayland don't fail on SIGCHLD --- pkgs/development/libraries/wlroots/default.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/pkgs/development/libraries/wlroots/default.nix b/pkgs/development/libraries/wlroots/default.nix index a42a60d002a3..e3802c1a4d9d 100644 --- a/pkgs/development/libraries/wlroots/default.nix +++ b/pkgs/development/libraries/wlroots/default.nix @@ -2,6 +2,7 @@ lib, stdenv, fetchFromGitLab, + fetchpatch, meson, ninja, pkg-config, @@ -149,6 +150,15 @@ rec { wlroots_0_17 = generic { version = "0.17.4"; hash = "sha256-AzmXf+HMX/6VAr0LpfHwfmDB9dRrrLQHt7l35K98MVo="; + patches = [ + (fetchpatch { + # SIGCHLD here isn't fatal: we have other means of notifying that things were + # successful or failure, and it causes many compositors to have to do a bunch + # of extra work: https://github.com/qtile/qtile/issues/5101 + url = "https://gitlab.freedesktop.org/wlroots/wlroots/-/commit/631e5be0d7a7e4c7086b9778bc8fac809f96d336.patch"; + hash = "sha256-3Jnx4ZeKc3+NxraK2T7nZ2ibtWJuTEFmxa976fjAqsM="; + }) + ]; }; wlroots_0_18 = generic {