From a43c5242522f19bca67a6762916f236004d569df Mon Sep 17 00:00:00 2001 From: Andrew Tropin Date: Wed, 18 Jan 2023 14:16:31 +0400 Subject: gnu: qtwayland: Fix crashes from excessive number of frame callbacks. QWaylandWindow::handleUpdate could create thousands of pending frame callbacks, causing compositor to terminate client connection. https://bugreports.qt.io/browse/QTBUG-81504 * gnu/packages/patches/qtwayland-dont-recreate-callbacks.patch: New file. * gnu/packages/patches/qtwayland-cleanup-callbacks.patch: New file. * gnu/local.mk (dist_patch_DATA): Adjust accordingly. * gnu/packages/qt.scm (qtwayland)[source](patches): Add patches. --- gnu/local.mk | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gnu/local.mk') diff --git a/gnu/local.mk b/gnu/local.mk index dfe0d92a2f..408f7c376b 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -1775,6 +1775,8 @@ dist_patch_DATA = \ %D%/packages/patches/quagga-reproducible-build.patch \ %D%/packages/patches/quickswitch-fix-dmenu-check.patch \ %D%/packages/patches/qtwayland-gcc-11.patch \ + %D%/packages/patches/qtwayland-dont-recreate-callbacks.patch \ + %D%/packages/patches/qtwayland-cleanup-callbacks.patch \ %D%/packages/patches/qtwebkit-pbutils-include.patch \ %D%/packages/patches/qtwebkit-fix-building-with-bison-3.7.patch \ %D%/packages/patches/qtwebkit-fix-building-with-python-3.9.patch \ -- cgit v1.2.3