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:
OPNA2608 2024-06-29 23:33:42 +02:00 committed by github-actions[bot]
parent 7dca15289a
commit 13458513c3

View File

@ -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";