File: blacklist_libkpartsplugin.patch

package info (click to toggle)
qtwebkit-opensource-src 5.3.2%2Bdfsg-4
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 291,876 kB
  • ctags: 268,746
  • sloc: cpp: 1,358,098; python: 70,286; ansic: 42,964; perl: 35,473; ruby: 12,229; objc: 9,465; xml: 8,396; asm: 3,871; yacc: 2,397; sh: 1,647; makefile: 644; lex: 644; java: 110
file content (30 lines) | stat: -rw-r--r-- 1,080 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
From a322d1b1ba39bb83a2ffd41c4dc0c00de5bd77e0 Mon Sep 17 00:00:00 2001
From: Sune Vuorela <sune@vuorela.dk>
Date: Mon, 13 Oct 2014 20:39:26 +0200
Subject: [PATCH] Blacklist libkpartsplugin

KPartsPlugin is built using qt4, and loading that into a Qt5 QtWebkit
makes stuff crash.

Change-Id: I47d01dfe3b215192b012911013b352ea5b5b1530
---
 Source/WebCore/plugins/qt/PluginPackageQt.cpp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Source/WebCore/plugins/qt/PluginPackageQt.cpp b/Source/WebCore/plugins/qt/PluginPackageQt.cpp
index 679480b..a674ad3 100644
--- a/Source/WebCore/plugins/qt/PluginPackageQt.cpp
+++ b/Source/WebCore/plugins/qt/PluginPackageQt.cpp
@@ -146,7 +146,8 @@ bool PluginPackage::isPluginBlacklisted()
 {
     // TODO: enumerate all plugins that are incompatible with Qt5.
     const QLatin1String pluginBlacklist[] = {
-        QLatin1String("skypebuttons")
+        QLatin1String("skypebuttons"),
+        QLatin1String("libkpartsplugin")
     };
 
     QString baseName = QFileInfo(static_cast<QString>(m_path)).baseName();
-- 
2.1.1