summaryrefslogtreecommitdiffstats
path: root/recipes-qt/qt5/qtwebkit
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-qt/qt5/qtwebkit')
-rw-r--r--recipes-qt/qt5/qtwebkit/0001-qtwebkit-fix-QA-issue-bad-RPATH.patch19
-rw-r--r--recipes-qt/qt5/qtwebkit/0002-Remove-TEXTREL-tag-in-x86.patch (renamed from recipes-qt/qt5/qtwebkit/0002-qtwebkit-fix-textrel-x86.patch)51
2 files changed, 41 insertions, 29 deletions
diff --git a/recipes-qt/qt5/qtwebkit/0001-qtwebkit-fix-QA-issue-bad-RPATH.patch b/recipes-qt/qt5/qtwebkit/0001-qtwebkit-fix-QA-issue-bad-RPATH.patch
index 9324da9a..f1b9bdb7 100644
--- a/recipes-qt/qt5/qtwebkit/0001-qtwebkit-fix-QA-issue-bad-RPATH.patch
+++ b/recipes-qt/qt5/qtwebkit/0001-qtwebkit-fix-QA-issue-bad-RPATH.patch
@@ -1,7 +1,7 @@
1From fe714df9641286e3f005e0021e1c6462fb0b061e Mon Sep 17 00:00:00 2001 1From 97d4af4ea8708829d6df276ae741c2076cb472e8 Mon Sep 17 00:00:00 2001
2From: Trevor Woerner <trevor.woerner@linaro.org> 2From: Trevor Woerner <trevor.woerner@linaro.org>
3Date: Fri, 7 Feb 2014 04:07:17 +0100 3Date: Fri, 7 Feb 2014 04:07:17 +0100
4Subject: [PATCH] qtwebkit: fix QA issue (bad RPATH) 4Subject: [PATCH 1/2] qtwebkit: fix QA issue (bad RPATH)
5 5
6Building qtwebkit causes a QA issue such that QtWebPluginProcess and 6Building qtwebkit causes a QA issue such that QtWebPluginProcess and
7QtWebProcess contain bad RPATHs which point into the build location. This fix 7QtWebProcess contain bad RPATHs which point into the build location. This fix
@@ -9,21 +9,22 @@ adds a patch to not include the rpath.prf which causes this problem.
9 9
10Signed-off-by: Trevor Woerner <trevor.woerner@linaro.org> 10Signed-off-by: Trevor Woerner <trevor.woerner@linaro.org>
11Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> 11Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
12Signed-off-by: Jonathan Liu <net147@gmail.com>
13--- 12---
14 Tools/qmake/mkspecs/features/unix/default_post.prf | 2 -- 13 Tools/qmake/mkspecs/features/unix/default_post.prf | 1 -
15 1 file changed, 2 deletions(-) 14 1 file changed, 1 deletion(-)
16 15
17diff --git a/Tools/qmake/mkspecs/features/unix/default_post.prf b/Tools/qmake/mkspecs/features/unix/default_post.prf 16diff --git a/Tools/qmake/mkspecs/features/unix/default_post.prf b/Tools/qmake/mkspecs/features/unix/default_post.prf
18index 9c52406..7ece013 100644 17index fd66af6..ef754c3 100644
19--- a/Tools/qmake/mkspecs/features/unix/default_post.prf 18--- a/Tools/qmake/mkspecs/features/unix/default_post.prf
20+++ b/Tools/qmake/mkspecs/features/unix/default_post.prf 19+++ b/Tools/qmake/mkspecs/features/unix/default_post.prf
21@@ -59,8 +59,6 @@ linux-*g++* { 20@@ -61,7 +61,6 @@ linux-*g++* {
22 } 21 }
23 } 22 }
24 23
25-contains(TEMPLATE, app): CONFIG += rpath 24-contains(TEMPLATE, app): CONFIG += rpath
26- 25
27 CONFIG(debug, debug|release)|force_debug_info { 26 CONFIG(debug, debug|release)|force_debug_info {
28 # Make ld not cache the symbol tables of input files in memory to avoid memory exhaustion during the linking phase. 27 # Make ld not cache the symbol tables of input files in memory to avoid memory exhaustion during the linking phase.
29 !force_static_libs_as_shared:config_gnuld: QMAKE_LFLAGS += -Wl,--no-keep-memory 28--
292.3.1
30
diff --git a/recipes-qt/qt5/qtwebkit/0002-qtwebkit-fix-textrel-x86.patch b/recipes-qt/qt5/qtwebkit/0002-Remove-TEXTREL-tag-in-x86.patch
index e5f1538d..64bfa3e7 100644
--- a/recipes-qt/qt5/qtwebkit/0002-qtwebkit-fix-textrel-x86.patch
+++ b/recipes-qt/qt5/qtwebkit/0002-Remove-TEXTREL-tag-in-x86.patch
@@ -1,3 +1,8 @@
1From ecb13fa1c9fa45b7e307232b24331c040c88330b Mon Sep 17 00:00:00 2001
2From: Magnus Granberg <zorry@gentoo.org>
3Date: Fri, 27 Feb 2015 11:55:09 +0100
4Subject: [PATCH 2/2] Remove TEXTREL tag in x86
5
1Fix textrel QA warnings when building qtwebkit for x86: 6Fix textrel QA warnings when building qtwebkit for x86:
2 7
3 WARNING: QA Issue: ELF binary '/home/andre/rdk/rdk-master/build-vbox32/tmp/work/core2-32-rdk-linux/qtwebkit/5.4.0-r0/packages-split/qtwebkit/usr/lib/libQt5WebKit.so.5.4.0' has relocations in .text [textrel] 8 WARNING: QA Issue: ELF binary '/home/andre/rdk/rdk-master/build-vbox32/tmp/work/core2-32-rdk-linux/qtwebkit/5.4.0-r0/packages-split/qtwebkit/usr/lib/libQt5WebKit.so.5.4.0' has relocations in .text [textrel]
@@ -14,27 +19,17 @@ part of qtwebkit yet ( https://bugs.webkit.org/show_bug.cgi?id=99683 ).
14Upstream status [webkit] : backport 19Upstream status [webkit] : backport
15Upstream status [qtwebkit] : unclear 20Upstream status [qtwebkit] : unclear
16 21
17
18From: Magnus Granberg <zorry@gentoo.org>
19Subject: Remove TEXTREL tag in x86
20Bug: https://bugs.webkit.org/show_bug.cgi?id=70610 22Bug: https://bugs.webkit.org/show_bug.cgi?id=70610
21Index: webkitgtk/Source/WTF/wtf/InlineASM.h 23Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
22=================================================================== 24---
23--- webkitgtk.orig/Source/WTF/wtf/InlineASM.h 25 Source/JavaScriptCore/jit/ThunkGenerators.cpp | 24 ++++++++++++++++++++++++
24+++ webkitgtk/Source/WTF/wtf/InlineASM.h 26 Source/WTF/wtf/InlineASM.h | 2 ++
25@@ -46,6 +46,8 @@ 27 2 files changed, 26 insertions(+)
26 #define GLOBAL_REFERENCE(name) #name "@plt" 28
27 #elif CPU(X86) && COMPILER(MINGW) 29diff --git a/Source/JavaScriptCore/jit/ThunkGenerators.cpp b/Source/JavaScriptCore/jit/ThunkGenerators.cpp
28 #define GLOBAL_REFERENCE(name) "@" #name "@4" 30index 9684df2..8af82d8 100644
29+#elif OS(LINUX) && CPU(X86) && defined(__PIC__) 31--- a/Source/JavaScriptCore/jit/ThunkGenerators.cpp
30+#define GLOBAL_REFERENCE(name) SYMBOL_STRING(name) "@plt" 32+++ b/Source/JavaScriptCore/jit/ThunkGenerators.cpp
31 #else
32 #define GLOBAL_REFERENCE(name) SYMBOL_STRING(name)
33 #endif
34Index: webkitgtk/Source/JavaScriptCore/jit/ThunkGenerators.cpp
35===================================================================
36--- webkitgtk.orig/Source/JavaScriptCore/jit/ThunkGenerators.cpp
37+++ webkitgtk/Source/JavaScriptCore/jit/ThunkGenerators.cpp
38@@ -524,6 +524,30 @@ double jsRound(double d) 33@@ -524,6 +524,30 @@ double jsRound(double d)
39 } \ 34 } \
40 static MathThunk UnaryDoubleOpWrapper(function) = &function##Thunk; 35 static MathThunk UnaryDoubleOpWrapper(function) = &function##Thunk;
@@ -66,3 +61,19 @@ Index: webkitgtk/Source/JavaScriptCore/jit/ThunkGenerators.cpp
66 #elif CPU(X86) && COMPILER(GCC) && (PLATFORM(MAC) || OS(LINUX)) 61 #elif CPU(X86) && COMPILER(GCC) && (PLATFORM(MAC) || OS(LINUX))
67 #define defineUnaryDoubleOpWrapper(function) \ 62 #define defineUnaryDoubleOpWrapper(function) \
68 asm( \ 63 asm( \
64diff --git a/Source/WTF/wtf/InlineASM.h b/Source/WTF/wtf/InlineASM.h
65index 0a2fe78..2dc40ef 100644
66--- a/Source/WTF/wtf/InlineASM.h
67+++ b/Source/WTF/wtf/InlineASM.h
68@@ -46,6 +46,8 @@
69 #define GLOBAL_REFERENCE(name) #name "@plt"
70 #elif CPU(X86) && COMPILER(MINGW)
71 #define GLOBAL_REFERENCE(name) "@" #name "@4"
72+#elif OS(LINUX) && CPU(X86) && defined(__PIC__)
73+#define GLOBAL_REFERENCE(name) SYMBOL_STRING(name) "@plt"
74 #else
75 #define GLOBAL_REFERENCE(name) SYMBOL_STRING(name)
76 #endif
77--
782.3.1
79