mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 20:03:16 +00:00
32 lines
1.1 KiB
Diff
32 lines
1.1 KiB
Diff
From 25d2922cce383fcaa4c138e0cc6c8d92328eeacb Mon Sep 17 00:00:00 2001
|
|
From: Thomas Tuegel <ttuegel@gmail.com>
|
|
Date: Mon, 1 Dec 2014 17:30:41 -0600
|
|
Subject: [PATCH] dlopen-webkit-udev
|
|
|
|
---
|
|
qtwebkit/Source/WebCore/platform/qt/GamepadsQt.cpp | 4 ++--
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/qtwebkit/Source/WebCore/platform/qt/GamepadsQt.cpp b/qtwebkit/Source/WebCore/platform/qt/GamepadsQt.cpp
|
|
index 60ff317..da8ac69 100644
|
|
--- a/qtwebkit/Source/WebCore/platform/qt/GamepadsQt.cpp
|
|
+++ b/qtwebkit/Source/WebCore/platform/qt/GamepadsQt.cpp
|
|
@@ -111,12 +111,12 @@ private:
|
|
bool load()
|
|
{
|
|
m_libUdev.setLoadHints(QLibrary::ResolveAllSymbolsHint);
|
|
- m_libUdev.setFileNameAndVersion(QStringLiteral("udev"), 1);
|
|
+ m_libUdev.setFileNameAndVersion(QStringLiteral("@udev@/lib/libudev"), 1);
|
|
m_loaded = m_libUdev.load();
|
|
if (resolveMethods())
|
|
return true;
|
|
|
|
- m_libUdev.setFileNameAndVersion(QStringLiteral("udev"), 0);
|
|
+ m_libUdev.setFileNameAndVersion(QStringLiteral("@udev@/lib/libudev"), 0);
|
|
m_loaded = m_libUdev.load();
|
|
return resolveMethods();
|
|
}
|
|
--
|
|
2.1.3
|
|
|