summaryrefslogtreecommitdiffstats
path: root/meta/recipes-qt/qt4/qt-4.7.4
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-qt/qt4/qt-4.7.4')
-rw-r--r--meta/recipes-qt/qt4/qt-4.7.4/gcc47-fix.patch67
1 files changed, 67 insertions, 0 deletions
diff --git a/meta/recipes-qt/qt4/qt-4.7.4/gcc47-fix.patch b/meta/recipes-qt/qt4/qt-4.7.4/gcc47-fix.patch
new file mode 100644
index 0000000000..1a7362675f
--- /dev/null
+++ b/meta/recipes-qt/qt4/qt-4.7.4/gcc47-fix.patch
@@ -0,0 +1,67 @@
1Fix compiler errors e.g.
2
3| ../3rdparty/javascriptcore/JavaScriptCore/runtime/JSGlobalObject.h:270:100: error: invalid static_cast from type 'QTJSC::JSVariableObject::JSVariableObjectData* const' to type 'QTJSC::JSGlobalObject::JSGlobalObjectData*'
4
5Signed-off-by: Khem Raj <raj.khem@gmail.com>
6
7Upstream-Status: Pending
8
9Index: qt-everywhere-opensource-src-4.7.4/src/3rdparty/javascriptcore/JavaScriptCore/runtime/JSGlobalObject.h
10===================================================================
11--- qt-everywhere-opensource-src-4.7.4.orig/src/3rdparty/javascriptcore/JavaScriptCore/runtime/JSGlobalObject.h 2012-03-30 15:29:20.733188940 -0700
12+++ qt-everywhere-opensource-src-4.7.4/src/3rdparty/javascriptcore/JavaScriptCore/runtime/JSGlobalObject.h 2012-03-30 15:29:46.525190187 -0700
13@@ -57,9 +57,8 @@
14
15 class JSGlobalObject : public JSVariableObject {
16 protected:
17- using JSVariableObject::JSVariableObjectData;
18
19- struct JSGlobalObjectData : public JSVariableObjectData {
20+ struct JSGlobalObjectData : public JSVariableObject::JSVariableObjectData {
21 // We use an explicit destructor function pointer instead of a
22 // virtual destructor because we want to avoid adding a vtable
23 // pointer to this struct. Adding a vtable pointer would force the
24Index: qt-everywhere-opensource-src-4.7.4/src/3rdparty/javascriptcore/JavaScriptCore/runtime/JSStaticScopeObject.h
25===================================================================
26--- qt-everywhere-opensource-src-4.7.4.orig/src/3rdparty/javascriptcore/JavaScriptCore/runtime/JSStaticScopeObject.h 2012-03-30 15:31:40.713195714 -0700
27+++ qt-everywhere-opensource-src-4.7.4/src/3rdparty/javascriptcore/JavaScriptCore/runtime/JSStaticScopeObject.h 2012-03-30 15:32:01.449196717 -0700
28@@ -32,8 +32,7 @@
29
30 class JSStaticScopeObject : public JSVariableObject {
31 protected:
32- using JSVariableObject::JSVariableObjectData;
33- struct JSStaticScopeObjectData : public JSVariableObjectData {
34+ struct JSStaticScopeObjectData : public JSVariableObject::JSVariableObjectData {
35 JSStaticScopeObjectData()
36 : JSVariableObjectData(&symbolTable, &registerStore + 1)
37 {
38Index: qt-everywhere-opensource-src-4.7.4/src/3rdparty/webkit/JavaScriptCore/runtime/JSGlobalObject.h
39===================================================================
40--- qt-everywhere-opensource-src-4.7.4.orig/src/3rdparty/webkit/JavaScriptCore/runtime/JSGlobalObject.h 2012-03-30 15:46:29.841238746 -0700
41+++ qt-everywhere-opensource-src-4.7.4/src/3rdparty/webkit/JavaScriptCore/runtime/JSGlobalObject.h 2012-03-30 15:47:19.525241150 -0700
42@@ -57,7 +57,7 @@
43 protected:
44 using JSVariableObject::JSVariableObjectData;
45
46- struct JSGlobalObjectData : public JSVariableObjectData {
47+ struct JSGlobalObjectData : public JSVariableObject::JSVariableObjectData {
48 // We use an explicit destructor function pointer instead of a
49 // virtual destructor because we want to avoid adding a vtable
50 // pointer to this struct. Adding a vtable pointer would force the
51Index: qt-everywhere-opensource-src-4.7.4/src/3rdparty/webkit/JavaScriptCore/runtime/JSStaticScopeObject.h
52===================================================================
53--- qt-everywhere-opensource-src-4.7.4.orig/src/3rdparty/webkit/JavaScriptCore/runtime/JSStaticScopeObject.h 2012-03-30 15:47:50.789242663 -0700
54+++ qt-everywhere-opensource-src-4.7.4/src/3rdparty/webkit/JavaScriptCore/runtime/JSStaticScopeObject.h 2012-03-30 16:25:51.465353133 -0700
55@@ -32,10 +32,9 @@
56
57 class JSStaticScopeObject : public JSVariableObject {
58 protected:
59- using JSVariableObject::JSVariableObjectData;
60- struct JSStaticScopeObjectData : public JSVariableObjectData {
61+ struct JSStaticScopeObjectData : public JSVariableObject::JSVariableObjectData {
62 JSStaticScopeObjectData()
63- : JSVariableObjectData(&symbolTable, &registerStore + 1)
64+ : JSVariableObject::JSVariableObjectData(&symbolTable, &registerStore + 1)
65 {
66 }
67 SymbolTable symbolTable;