Fix compilation of uicmoc-native under gcc4
authorJonathan McDowell <noodles@earth.li>
Thu, 14 Jul 2005 06:27:55 +0000 (06:27 +0000)
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>
Thu, 14 Jul 2005 06:27:55 +0000 (06:27 +0000)
packages/uicmoc/uicmoc-native-2.3.10/gcc4.patch [new file with mode: 0644]
packages/uicmoc/uicmoc-native_2.3.10.bb

diff --git a/packages/uicmoc/uicmoc-native-2.3.10/gcc4.patch b/packages/uicmoc/uicmoc-native-2.3.10/gcc4.patch
new file mode 100644 (file)
index 0000000..633fe86
--- /dev/null
@@ -0,0 +1,12 @@
+--- qt-2.3.10/src/kernel/qwindowsystem_qws.h.orig      2005-07-13 20:23:30.061728456 +0100
++++ qt-2.3.10/src/kernel/qwindowsystem_qws.h   2005-07-13 20:37:57.183905848 +0100
+@@ -168,6 +168,9 @@
+ class QWSMouseHandler;
+ struct QWSCommandStruct;
++class QWSInputMethod;
++class QWSGestureMethod;
++
+ #ifndef QT_NO_QWS_MULTIPROCESS
+ class QWSServer : public QWSServerSocket
+ #else
index 7d39cc1..a596ec6 100644 (file)
@@ -7,7 +7,8 @@ PR = "r0"
 
 SRC_URI = "ftp://ftp.trolltech.com/pub/qt/source/qt-embedded-${PV}-free.tar.gz \
            file://fix-makefile.patch;patch=1 \
-           file://gcc3_4.patch;patch=1"
+           file://gcc3_4.patch;patch=1" \
+           file://gcc4.patch;patch=1"
 S = "${WORKDIR}/qt-${PV}"
 
 inherit native qmake-base