summaryrefslogtreecommitdiffstats
path: root/meta/recipes-qt/qt4/qt4-4.8.1/gcc47-fix.patch
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2012-09-26 20:00:58 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-10-02 17:19:26 +0100
commita0a29221c8df7c277139b0c875330f08cb2bdea3 (patch)
tree967c8777a198f33333e458ca8579fe896c784e99 /meta/recipes-qt/qt4/qt4-4.8.1/gcc47-fix.patch
parent248e9f48c77212372b50074f0a475a16bb8db4be (diff)
downloadpoky-a0a29221c8df7c277139b0c875330f08cb2bdea3.tar.gz
qt4: rename qt-4.8.1 to qt4-4.8.1 to match other .inc and .bb
(From OE-Core rev: dcda03d3f6ec442740e3683a1971103dc639689d) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-qt/qt4/qt4-4.8.1/gcc47-fix.patch')
-rw-r--r--meta/recipes-qt/qt4/qt4-4.8.1/gcc47-fix.patch35
1 files changed, 35 insertions, 0 deletions
diff --git a/meta/recipes-qt/qt4/qt4-4.8.1/gcc47-fix.patch b/meta/recipes-qt/qt4/qt4-4.8.1/gcc47-fix.patch
new file mode 100644
index 0000000000..47618cfde1
--- /dev/null
+++ b/meta/recipes-qt/qt4/qt4-4.8.1/gcc47-fix.patch
@@ -0,0 +1,35 @@
1Fix compile error when using toolchains based on GCC 4.7.
2
3Upstream-Status: Pending
4
5Signed-off-by: Ken Werner <ken.werner@linaro.org>
6
7Index: qt-everywhere-opensource-src-4.8.0/src/3rdparty/javascriptcore/JavaScriptCore/runtime/JSGlobalObject.h
8===================================================================
9--- qt-everywhere-opensource-src-4.8.0.orig/src/3rdparty/javascriptcore/JavaScriptCore/runtime/JSGlobalObject.h
10+++ qt-everywhere-opensource-src-4.8.0/src/3rdparty/javascriptcore/JavaScriptCore/runtime/JSGlobalObject.h
11@@ -57,9 +57,7 @@ namespace JSC {
12
13 class JSGlobalObject : public JSVariableObject {
14 protected:
15- using JSVariableObject::JSVariableObjectData;
16-
17- struct JSGlobalObjectData : public JSVariableObjectData {
18+ struct JSGlobalObjectData : public JSVariableObject::JSVariableObjectData {
19 // We use an explicit destructor function pointer instead of a
20 // virtual destructor because we want to avoid adding a vtable
21 // pointer to this struct. Adding a vtable pointer would force the
22Index: qt-everywhere-opensource-src-4.8.0/src/3rdparty/javascriptcore/JavaScriptCore/runtime/JSStaticScopeObject.h
23===================================================================
24--- qt-everywhere-opensource-src-4.8.0.orig/src/3rdparty/javascriptcore/JavaScriptCore/runtime/JSStaticScopeObject.h
25+++ qt-everywhere-opensource-src-4.8.0/src/3rdparty/javascriptcore/JavaScriptCore/runtime/JSStaticScopeObject.h
26@@ -32,8 +32,7 @@ namespace JSC{
27
28 class JSStaticScopeObject : public JSVariableObject {
29 protected:
30- using JSVariableObject::JSVariableObjectData;
31- struct JSStaticScopeObjectData : public JSVariableObjectData {
32+ struct JSStaticScopeObjectData : public JSVariableObjectData::JSVariableObjectData {
33 JSStaticScopeObjectData()
34 : JSVariableObjectData(&symbolTable, &registerStore + 1)
35 {