summaryrefslogtreecommitdiffstats
path: root/meta/recipes-qt/qt4/qt4-4.8.1/fix_conflicting_types.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/fix_conflicting_types.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/fix_conflicting_types.patch')
-rw-r--r--meta/recipes-qt/qt4/qt4-4.8.1/fix_conflicting_types.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/meta/recipes-qt/qt4/qt4-4.8.1/fix_conflicting_types.patch b/meta/recipes-qt/qt4/qt4-4.8.1/fix_conflicting_types.patch
new file mode 100644
index 0000000000..81245059c0
--- /dev/null
+++ b/meta/recipes-qt/qt4/qt4-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;