qte 2.3.10: fixed build for c7x0 with gcc 4
authorMichael Krelin <hacker@klever.net>
Sun, 8 Jul 2007 18:39:21 +0000 (18:39 +0000)
committerMichael Krelin <hacker@klever.net>
Sun, 8 Jul 2007 18:39:21 +0000 (18:39 +0000)
packages/qte/qte-2.3.10/c7x0-w100-gcc4.patch [new file with mode: 0644]
packages/qte/qte-common_2.3.10.inc

diff --git a/packages/qte/qte-2.3.10/c7x0-w100-gcc4.patch b/packages/qte/qte-2.3.10/c7x0-w100-gcc4.patch
new file mode 100644 (file)
index 0000000..101f959
--- /dev/null
@@ -0,0 +1,31 @@
+diff --git a/src/kernel/qgfxw100_qws.cpp b/src/kernel/qgfxw100_qws.cpp
+index cbc42d6..b5dfe31 100644
+--- a/src/kernel/qgfxw100_qws.cpp
++++ b/src/kernel/qgfxw100_qws.cpp
+@@ -1250,7 +1250,7 @@ void QGfxW100< depth, type>::dDrawPolyline( const QPointArray &a,
+     points[ npoints ] = points[ npoints - 1 ];
+-    GFX_START( clipbounds );
++    GFX_START( this->clipbounds );
+     driver.setFrgColour( this->cpen.color().rgb() );
+     driver.setRopOperation( ROP3_PATCOPY );
+     for ( int loopc = 0; loopc < this->ncliprect; loopc++ ) {
+@@ -1341,7 +1341,7 @@ void QGfxW100< depth, type>::dDrawPoint( int x, int y )
+     point.XCoord = x + this->xoffs;
+     point.YCoord = y + this->yoffs;
+-    GFX_START( clipbounds );
++    GFX_START( this->clipbounds );
+     driver.setFrgColour( this->cpen.color().rgb() );
+     driver.setRopOperation( ROP3_PATCOPY );
+     for ( int loopc = 0; loopc < this->ncliprect; loopc++ ) {
+@@ -1413,7 +1413,7 @@ void QGfxW100< depth, type>::dDrawPoints( const QPointArray &a,
+         points[i].YCoord = a[i+index].y() + this->yoffs;
+     }
+-    GFX_START( clipbounds );
++    GFX_START( this->clipbounds );
+     driver.setFrgColour( this->cpen.color().rgb() );
+     driver.setRopOperation( ROP3_PATCOPY );
+     for ( int loopc = 0; loopc < this->ncliprect; loopc++ ) {
index d0e3795..dbdf21e 100644 (file)
@@ -56,7 +56,8 @@ SRC_URI = "ftp://ftp.trolltech.com/pub/qt/source/qt-embedded-${PV}-free.tar.gz;m
 #
 SRC_URI_append_simpad       = "file://devfs.patch;patch=1 "
 SRC_URI_append_c7x0         = "file://kernel-keymap-corgi.patch;patch=1 \
-                               file://c7x0-w100-accel.patch;patch=1 file://suspend-resume-hooks.patch;patch=1 "
+                               file://c7x0-w100-accel.patch;patch=1 file://suspend-resume-hooks.patch;patch=1 \
+                               file://c7x0-w100-gcc4.patch;patch=1 "
 SRC_URI_append_spitz        = "file://kernel-keymap-corgi.patch;patch=1 \
                                file://kernel-keymap-CXK.patch;patch=1 "
 SRC_URI_append_akita        = "file://kernel-keymap-corgi.patch;patch=1 \