nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1From 707098eada20ba074e642a73248de74407bc261c Mon Sep 17 00:00:00 2001
2From: Thomas Tuegel <ttuegel@mailbox.org>
3Date: Tue, 17 Sep 2019 05:35:58 -0500
4Subject: [PATCH 07/11] qtbase-xcursor
5
6---
7 src/plugins/platforms/xcb/qxcbcursor.cpp | 4 ++--
8 1 file changed, 2 insertions(+), 2 deletions(-)
9
10diff --git a/src/plugins/platforms/xcb/qxcbcursor.cpp b/src/plugins/platforms/xcb/qxcbcursor.cpp
11index 42c7a52bd4..ba670ddb44 100644
12--- a/src/plugins/platforms/xcb/qxcbcursor.cpp
13+++ b/src/plugins/platforms/xcb/qxcbcursor.cpp
14@@ -317,10 +317,10 @@ QXcbCursor::QXcbCursor(QXcbConnection *conn, QXcbScreen *screen)
15 #if QT_CONFIG(xcb_xlib) && QT_CONFIG(library)
16 static bool function_ptrs_not_initialized = true;
17 if (function_ptrs_not_initialized) {
18- QLibrary xcursorLib(QLatin1String("Xcursor"), 1);
19+ QLibrary xcursorLib(QLatin1String(NIXPKGS_LIBXCURSOR), 1);
20 bool xcursorFound = xcursorLib.load();
21 if (!xcursorFound) { // try without the version number
22- xcursorLib.setFileName(QLatin1String("Xcursor"));
23+ xcursorLib.setFileName(QLatin1String(NIXPKGS_LIBXCURSOR));
24 xcursorFound = xcursorLib.load();
25 }
26 if (xcursorFound) {
27--
282.25.4
29