summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-qt/qt4/qt-4.8.1.inc1
-rw-r--r--meta/recipes-qt/qt4/qt-4.8.1/fix_conflicting_types.patch29
-rw-r--r--meta/recipes-qt/qt4/qt4-x11-free.inc2
3 files changed, 31 insertions, 1 deletions
diff --git a/meta/recipes-qt/qt4/qt-4.8.1.inc b/meta/recipes-qt/qt4/qt-4.8.1.inc
index 8c38caee3c..2fc4228612 100644
--- a/meta/recipes-qt/qt4/qt-4.8.1.inc
+++ b/meta/recipes-qt/qt4/qt-4.8.1.inc
@@ -23,6 +23,7 @@ SRC_URI = "http://get.qt.nokia.com/qt/source/qt-everywhere-opensource-src-${PV}.
23 file://gcc47-fix.patch \ 23 file://gcc47-fix.patch \
24 file://gcc47-fix2.patch \ 24 file://gcc47-fix2.patch \
25 file://disable-fuse-gold-flag.patch \ 25 file://disable-fuse-gold-flag.patch \
26 file://fix_conflicting_types.patch \
26 " 27 "
27 28
28SRC_URI[md5sum] = "7960ba8e18ca31f0c6e4895a312f92ff" 29SRC_URI[md5sum] = "7960ba8e18ca31f0c6e4895a312f92ff"
diff --git a/meta/recipes-qt/qt4/qt-4.8.1/fix_conflicting_types.patch b/meta/recipes-qt/qt4/qt-4.8.1/fix_conflicting_types.patch
new file mode 100644
index 0000000000..81245059c0
--- /dev/null
+++ b/meta/recipes-qt/qt4/qt-4.8.1/fix_conflicting_types.patch
@@ -0,0 +1,29 @@
1Upstream-Status: Pending
2
3This patch fixes the type mismatch fixing this compile issue:
4
5| /srv/home/nitin/builds/build-gcc47/tmp/sysroots/qemux86/usr/include/glib-2.0/glib/gthread.h:58:7: error: 'union' tag used in naming 'struct _GMutex' [-Werror=permissive]
6| In file included from ./wtf/Platform.h:1217:0,
7| from ./config.h:30,
8| from wtf/gobject/GOwnPtr.cpp:19:
9| wtf/gobject/GTypedefs.h:55:16: note: 'struct _GMutex' was previously declared here
10NOTE: package qt4-x11-free-4.8.1-r41.1: task do_compile: Failed
11
12
13Signed-Off-By: Nitin A Kamble <nitin.a.kamble@intel.com>
142012/04/30
15
16
17Index: qt-everywhere-opensource-src-4.8.1/src/3rdparty/webkit/Source/JavaScriptCore/wtf/gobject/GTypedefs.h
18===================================================================
19--- qt-everywhere-opensource-src-4.8.1/src/3rdparty.orig/webkit/Source/JavaScriptCore/wtf/gobject/GTypedefs.h
20+++ qt-everywhere-opensource-src-4.8.1/src/3rdparty/webkit/Source/JavaScriptCore/wtf/gobject/GTypedefs.h
21@@ -52,7 +52,7 @@ typedef struct _GFile GFile;
22 typedef struct _GHashTable GHashTable;
23 typedef struct _GInputStream GInputStream;
24 typedef struct _GList GList;
25-typedef struct _GMutex GMutex;
26+typedef union _GMutex GMutex;
27 typedef struct _GPatternSpec GPatternSpec;
28 typedef struct _GPollableOutputStream GPollableOutputStream;
29 typedef struct _GSocketClient GSocketClient;
diff --git a/meta/recipes-qt/qt4/qt4-x11-free.inc b/meta/recipes-qt/qt4/qt4-x11-free.inc
index a59198d1a6..720b1bfd14 100644
--- a/meta/recipes-qt/qt4/qt4-x11-free.inc
+++ b/meta/recipes-qt/qt4/qt4-x11-free.inc
@@ -5,7 +5,7 @@ HOMEPAGE = "http://qt.nokia.com"
5SECTION = "x11/libs" 5SECTION = "x11/libs"
6DEPENDS += "virtual/libgl virtual/libx11 fontconfig libxft libxext libxrender libxrandr libxcursor" 6DEPENDS += "virtual/libgl virtual/libx11 fontconfig libxft libxext libxrender libxrandr libxcursor"
7 7
8INC_PR = "r41" 8INC_PR = "r42"
9 9
10QT_GLFLAGS ?= "${@base_contains('DISTRO_FEATURES', 'opengl', '-opengl', '-no-opengl', d)} " 10QT_GLFLAGS ?= "${@base_contains('DISTRO_FEATURES', 'opengl', '-opengl', '-no-opengl', d)} "
11QT_GLFLAGS_qemux86 = "-opengl" 11QT_GLFLAGS_qemux86 = "-opengl"