mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 15:11:35 +00:00
26 lines
1,006 B
Diff
26 lines
1,006 B
Diff
From 089db8835c80bf2b7dd91a97a5c6eb26636b6ab9 Mon Sep 17 00:00:00 2001
|
|
From: Thomas Tuegel <ttuegel@gmail.com>
|
|
Date: Mon, 1 Dec 2014 17:26:39 -0600
|
|
Subject: [PATCH] dlopen-webkit-gtk
|
|
|
|
---
|
|
qtwebkit/Source/WebKit2/PluginProcess/qt/PluginProcessMainQt.cpp | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/qtwebkit/Source/WebKit2/PluginProcess/qt/PluginProcessMainQt.cpp b/qtwebkit/Source/WebKit2/PluginProcess/qt/PluginProcessMainQt.cpp
|
|
index 8de6521..0b25748 100644
|
|
--- a/qtwebkit/Source/WebKit2/PluginProcess/qt/PluginProcessMainQt.cpp
|
|
+++ b/qtwebkit/Source/WebKit2/PluginProcess/qt/PluginProcessMainQt.cpp
|
|
@@ -53,7 +53,7 @@ static void messageHandler(QtMsgType type, const QMessageLogContext&, const QStr
|
|
|
|
static bool initializeGtk()
|
|
{
|
|
- QLibrary gtkLibrary(QLatin1String("libgtk-x11-2.0"), 0);
|
|
+ QLibrary gtkLibrary(QLatin1String("@gtk@/lib/libgtk-x11-2.0"), 0);
|
|
if (!gtkLibrary.load())
|
|
return false;
|
|
typedef void* (*gtk_init_ptr)(void*, void*);
|
|
--
|
|
2.1.3
|
|
|