mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-19 11:23:29 +00:00
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).
(cherry picked from commit cd6462bae2
)
This commit is contained in:
parent
7dca15289a
commit
13458513c3
@ -166,6 +166,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";
|
||||
|
Loading…
Reference in New Issue
Block a user