diff options
author | OPNA2608 <opna2608@protonmail.com> | 2024-06-29 23:33:42 +0200 |
---|---|---|
committer | OPNA2608 <opna2608@protonmail.com> | 2024-06-29 23:33:42 +0200 |
commit | cd6462bae2ddcdda956634f434c7ea38fbcae707 (patch) | |
tree | 93c38ce650f663d3a2c6f9eec742d8692156999e /pkgs/development/libraries | |
parent | e9620c8c258ed6ccda5ff80fbd254624060ce953 (diff) |
libsForQt5.qtsystems: Fetch patch to fix crash on XOpenDisplay failure
Fixes some apps crashing in an X11-less context (morph-browser when launched via content-hub, lomiri-clock-app via lomiri-url-dispatcher).
Diffstat (limited to 'pkgs/development/libraries')
-rw-r--r-- | pkgs/development/libraries/qt-5/5.15/default.nix | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/development/libraries/qt-5/5.15/default.nix b/pkgs/development/libraries/qt-5/5.15/default.nix index b1308159eb688..dabb77ea0c85d 100644 --- a/pkgs/development/libraries/qt-5/5.15/default.nix +++ b/pkgs/development/libraries/qt-5/5.15/default.nix @@ -174,6 +174,12 @@ let qtscript = [ ./qtscript.patch ]; qtserialport = [ ./qtserialport.patch ]; qtsystems = [ + # Fix crash if no X11 display available + (fetchpatch { + url = "https://salsa.debian.org/qt-kde-team/qt/qtsystems/-/raw/1a4df40671d6f1bb0657a9dfdae4cd9bd48fcf21/debian/patches/1005_check_XOpenDisplay.patch"; + hash = "sha256-/onla2nlUSySEgz2IYOYajx/LZkJzAKDyxwAZzy0Ivs="; + }) + # Enable building with udisks support (fetchpatch { url = "https://salsa.debian.org/qt-kde-team/qt/qtsystems/-/raw/a23fd92222c33479d7f3b59e48116def6b46894c/debian/patches/2001_build_with_udisk.patch"; |