mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-21 13:13:33 +00:00
26 lines
933 B
Diff
26 lines
933 B
Diff
From eec8a79c6cc9e2c65fd43db48ca2347de3ae0c5e Mon Sep 17 00:00:00 2001
|
|
From: Thomas Tuegel <ttuegel@gmail.com>
|
|
Date: Mon, 1 Dec 2014 17:38:04 -0600
|
|
Subject: [PATCH] dlopen-dbus
|
|
|
|
---
|
|
qtbase/src/dbus/qdbus_symbols.cpp | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/qtbase/src/dbus/qdbus_symbols.cpp b/qtbase/src/dbus/qdbus_symbols.cpp
|
|
index a7a1b67..661baf1 100644
|
|
--- a/qtbase/src/dbus/qdbus_symbols.cpp
|
|
+++ b/qtbase/src/dbus/qdbus_symbols.cpp
|
|
@@ -93,7 +93,7 @@ bool qdbus_loadLibDBus()
|
|
|
|
static int majorversions[] = { 3, 2, -1 };
|
|
lib->unload();
|
|
- lib->setFileName(QLatin1String("dbus-1"));
|
|
+ lib->setFileName(QLatin1String("@dbus_libs@/lib/libdbus-1"));
|
|
for (uint i = 0; i < sizeof(majorversions) / sizeof(majorversions[0]); ++i) {
|
|
lib->setFileNameAndVersion(lib->fileName(), majorversions[i]);
|
|
if (lib->load() && lib->resolve("dbus_connection_open_private"))
|
|
--
|
|
2.1.3
|
|
|