summarylogtreecommitdiffstats
path: root/0005-fix-bind-in-webkit2.patch
diff options
context:
space:
mode:
authoraur@manjaro2016-08-10 11:54:26 +0200
committeraur@manjaro2016-08-19 10:09:38 +0200
commitc7a85a4b57e472ee534cfa044f1b3fb00d9836ca (patch)
treea1d7019cdb4336921722f69f72502479ad845afd /0005-fix-bind-in-webkit2.patch
parent4c43c4ee7c844f050957899c0acea8ff61ccc22e (diff)
downloadaur-c7a85a4b57e472ee534cfa044f1b3fb00d9836ca.tar.gz
[5.1.1-5] make everything compile with gcc 6.1
Diffstat (limited to '0005-fix-bind-in-webkit2.patch')
-rw-r--r--0005-fix-bind-in-webkit2.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/0005-fix-bind-in-webkit2.patch b/0005-fix-bind-in-webkit2.patch
new file mode 100644
index 000000000000..4bd8327afbb5
--- /dev/null
+++ b/0005-fix-bind-in-webkit2.patch
@@ -0,0 +1,31 @@
+From 04ec167908b9ce7adbd1c765525e8b82011a3de2 Mon Sep 17 00:00:00 2001
+From: "aur@manjaro" <aur@manjaro>
+Date: Fri, 19 Aug 2016 09:13:37 +0200
+Subject: [PATCH] fix bind in webkit2
+
+---
+ qtwebkit/Source/WebKit2/UIProcess/WebProcessProxy.cpp | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/qtwebkit/Source/WebKit2/UIProcess/WebProcessProxy.cpp b/qtwebkit/Source/WebKit2/UIProcess/WebProcessProxy.cpp
+index 6ca003a..a765303 100644
+--- a/qtwebkit/Source/WebKit2/UIProcess/WebProcessProxy.cpp
++++ b/qtwebkit/Source/WebKit2/UIProcess/WebProcessProxy.cpp
+@@ -377,12 +377,12 @@ void WebProcessProxy::handleGetPlugins(uint64_t requestID, bool refresh)
+
+ // NOTE: We have to pass the PluginInfo vector to the secondary thread via a pointer as otherwise
+ // we'd end up with a deref() race on all the WTF::Strings it contains.
+- RunLoop::main()->dispatch(bind(&WebProcessProxy::sendDidGetPlugins, this, requestID, pluginInfos.release()));
++ RunLoop::main()->dispatch(WTF::bind(&WebProcessProxy::sendDidGetPlugins, this, requestID, pluginInfos.release()));
+ }
+
+ void WebProcessProxy::getPlugins(CoreIPC::Connection*, uint64_t requestID, bool refresh)
+ {
+- pluginWorkQueue().dispatch(bind(&WebProcessProxy::handleGetPlugins, this, requestID, refresh));
++ pluginWorkQueue().dispatch(WTF::bind(&WebProcessProxy::handleGetPlugins, this, requestID, refresh));
+ }
+
+ void WebProcessProxy::getPluginPath(const String& mimeType, const String& urlString, String& pluginPath, uint32_t& pluginLoadPolicy)
+--
+2.9.2
+