uicmoc-native 2.3.10: apply patch to make it work with gcc 4.1
authorMichael Lauer <mickey@vanille-media.de>
Fri, 24 Mar 2006 11:25:53 +0000 (11:25 +0000)
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>
Fri, 24 Mar 2006 11:25:53 +0000 (11:25 +0000)
fixes bug #771

packages/uicmoc/uicmoc-native-2.3.10/gcc4_1.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_1.patch b/packages/uicmoc/uicmoc-native-2.3.10/gcc4_1.patch
new file mode 100644 (file)
index 0000000..550effd
--- /dev/null
@@ -0,0 +1,16 @@
+
+#
+# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
+#
+
+--- qt-2.3.10/src/tools/qvaluestack.h~gcc4     2005-01-23 15:00:47.000000000 +0100
++++ qt-2.3.10/src/tools/qvaluestack.h  2006-03-19 02:32:56.000000000 +0100
+@@ -54,7 +54,7 @@
+     {
+       T elem( this->last() );
+       if ( !this->isEmpty() )
+-          remove( this->fromLast() );
++          this->remove( this->fromLast() );
+       return elem;
+     }
+     T& top() { return this->last(); }
index ca959c1..db884e1 100644 (file)
@@ -3,12 +3,13 @@ SECTION = "devel"
 PRIORITY = "optional"
 LICENSE = "GPL QPL"
 MAINTAINER = "Michael 'Mickey' Lauer <mickey@Vanille.de>"
-PR = "r0"
+PR = "r1"
 
 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://gcc4.patch;patch=1"
+           file://gcc4.patch;patch=1 \
+           file://gcc4_1.patch;patch=1"
 S = "${WORKDIR}/qt-${PV}"
 
 inherit native qmake-base