qt/embedded 2.3.10: add gcc4 patch to make it compile :)
authorMichael Lauer <mickey@vanille-media.de>
Sun, 19 Mar 2006 01:36:30 +0000 (01:36 +0000)
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>
Sun, 19 Mar 2006 01:36:30 +0000 (01:36 +0000)
packages/qte/qte-2.3.10/gcc4.patch [new file with mode: 0644]
packages/qte/qte_2.3.10.bb

diff --git a/packages/qte/qte-2.3.10/gcc4.patch b/packages/qte/qte-2.3.10/gcc4.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 363f8df..fc03ca2 100644 (file)
@@ -8,7 +8,7 @@ DEPENDS = "zlib libpng jpeg tslib uicmoc-native"
 DEPENDS_mnci = "zlib libpng jpeg uicmoc-native"
 DEPENDS_append_c7x0 = " sharp-aticore-oss"
 PROVIDES = "virtual/qte virtual/libqte2"
-PR = "r29"
+PR = "r30"
 
 SRC_URI = "ftp://ftp.trolltech.com/pub/qt/source/qt-embedded-${PV}-free.tar.gz;md5sum=af7ad30113afc500cab7f5b2f4dec0d7 \
           file://qpe.patch;patch=1 \
@@ -16,6 +16,7 @@ SRC_URI = "ftp://ftp.trolltech.com/pub/qt/source/qt-embedded-${PV}-free.tar.gz;m
           file://daemonize.patch;patch=1 \
           file://no-moc.patch;patch=1 \
           file://gcc3.patch;patch=1 \
+          file://gcc4.patch;patch=1 \
           file://c700-hardware.patch;patch=1 \
           file://encoding.patch;patch=1 \
           file://fix-qgfxraster.patch;patch=1 \