summaryrefslogtreecommitdiff
authormickeyl <mickeyl>2004-04-24 15:14:30 (UTC)
committer mickeyl <mickeyl>2004-04-24 15:14:30 (UTC)
commitf870c0ba65ce95e1a010de95a4fb961b0c812850 (patch) (unidiff)
tree884c7ec4318e21da03c6d787e6074155c94e931c
parent1a00a2edf5da1aa7d47c736bb718933f1c2e774b (diff)
downloadopie-f870c0ba65ce95e1a010de95a4fb961b0c812850.zip
opie-f870c0ba65ce95e1a010de95a4fb961b0c812850.tar.gz
opie-f870c0ba65ce95e1a010de95a4fb961b0c812850.tar.bz2
add gcc 3.4 fixlet to qt-2.3.7 (qsortedlist.h needs a this-> before clear())
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--qt/qt-2.3.7.patch/qte237-all.patch59
1 files changed, 35 insertions, 24 deletions
diff --git a/qt/qt-2.3.7.patch/qte237-all.patch b/qt/qt-2.3.7.patch/qte237-all.patch
index 596db2f..c71cf02 100644
--- a/qt/qt-2.3.7.patch/qte237-all.patch
+++ b/qt/qt-2.3.7.patch/qte237-all.patch
@@ -4,7 +4,7 @@
4# 4#
5 5
6 --- qt-2.3.7/src/kernel/qapplication.cpp~qte237-all2003-07-17 03:20:25.000000000 +0200 6 --- qt-2.3.7/src/kernel/qapplication.cpp~qte237-all2003-07-17 03:20:25.000000000 +0200
7 +++ qt-2.3.7/src/kernel/qapplication.cpp2004-04-15 21:06:51.232857014 +0200 7 +++ qt-2.3.7/src/kernel/qapplication.cpp2004-04-24 17:12:59.000000000 +0200
8@@ -35,6 +35,8 @@ 8@@ -35,6 +35,8 @@
9 ** 9 **
10 **********************************************************************/ 10 **********************************************************************/
@@ -88,7 +88,7 @@
88 if ( !className ) { 88 if ( !className ) {
89 if ( !app_font ) { 89 if ( !app_font ) {
90 --- qt-2.3.7/src/kernel/qapplication.h~qte237-all2003-07-17 03:20:25.000000000 +0200 90 --- qt-2.3.7/src/kernel/qapplication.h~qte237-all2003-07-17 03:20:25.000000000 +0200
91 +++ qt-2.3.7/src/kernel/qapplication.h2004-04-15 21:06:51.232857014 +0200 91 +++ qt-2.3.7/src/kernel/qapplication.h2004-04-24 17:12:59.000000000 +0200
92@@ -61,6 +61,10 @@ 92@@ -61,6 +61,10 @@
93 class QSemaphore; 93 class QSemaphore;
94 #endif 94 #endif
@@ -145,7 +145,7 @@
145 #endif 145 #endif
146 146
147 --- qt-2.3.7/src/kernel/qapplication_qws.cpp~qte237-all2003-07-17 03:20:25.000000000 +0200 147 --- qt-2.3.7/src/kernel/qapplication_qws.cpp~qte237-all2003-07-17 03:20:25.000000000 +0200
148 +++ qt-2.3.7/src/kernel/qapplication_qws.cpp2004-04-15 21:06:51.234856703 +0200 148 +++ qt-2.3.7/src/kernel/qapplication_qws.cpp2004-04-24 17:12:59.000000000 +0200
149@@ -2804,6 +2804,11 @@ 149@@ -2804,6 +2804,11 @@
150 */ 150 */
151 void QApplication::qwsSetDecoration( QWSDecoration *d ) 151 void QApplication::qwsSetDecoration( QWSDecoration *d )
@@ -159,7 +159,7 @@
159 delete qws_decoration; 159 delete qws_decoration;
160 qws_decoration = d; 160 qws_decoration = d;
161 --- qt-2.3.7/src/kernel/qfontdatabase.cpp~qte237-all2003-07-17 03:20:25.000000000 +0200 161 --- qt-2.3.7/src/kernel/qfontdatabase.cpp~qte237-all2003-07-17 03:20:25.000000000 +0200
162 +++ qt-2.3.7/src/kernel/qfontdatabase.cpp2004-04-15 21:06:51.235856547 +0200 162 +++ qt-2.3.7/src/kernel/qfontdatabase.cpp2004-04-24 17:12:59.000000000 +0200
163@@ -35,6 +35,8 @@ 163@@ -35,6 +35,8 @@
164 ** 164 **
165 **********************************************************************/ 165 **********************************************************************/
@@ -184,7 +184,7 @@
184 if ( charSet.isEmpty() ) { 184 if ( charSet.isEmpty() ) {
185 QStringList lst = charSets( family ); 185 QStringList lst = charSets( family );
186 --- qt-2.3.7/src/kernel/qfontdatabase.h~qte237-all2003-07-17 03:20:25.000000000 +0200 186 --- qt-2.3.7/src/kernel/qfontdatabase.h~qte237-all2003-07-17 03:20:25.000000000 +0200
187 +++ qt-2.3.7/src/kernel/qfontdatabase.h2004-04-15 21:06:51.236856392 +0200 187 +++ qt-2.3.7/src/kernel/qfontdatabase.h2004-04-24 17:12:59.000000000 +0200
188@@ -59,6 +59,10 @@ 188@@ -59,6 +59,10 @@
189 class QDiskFont; 189 class QDiskFont;
190 #endif 190 #endif
@@ -215,7 +215,7 @@
215 const QString &charSet = QString::null ) const; 215 const QString &charSet = QString::null ) const;
216 QStringList charSets( const QString &familyName, 216 QStringList charSets( const QString &familyName,
217 --- qt-2.3.7/src/kernel/qgfxraster_qws.cpp~qte237-all2003-07-17 03:20:25.000000000 +0200 217 --- qt-2.3.7/src/kernel/qgfxraster_qws.cpp~qte237-all2003-07-17 03:20:25.000000000 +0200
218 +++ qt-2.3.7/src/kernel/qgfxraster_qws.cpp2004-04-15 21:06:51.238856081 +0200 218 +++ qt-2.3.7/src/kernel/qgfxraster_qws.cpp2004-04-24 17:12:59.000000000 +0200
219@@ -4237,7 +4237,7 @@ 219@@ -4237,7 +4237,7 @@
220 setAlphaType(IgnoreAlpha); 220 setAlphaType(IgnoreAlpha);
221 if ( w <= 0 || h <= 0 || !ncliprect ) return; 221 if ( w <= 0 || h <= 0 || !ncliprect ) return;
@@ -226,7 +226,7 @@
226 // This seems to be reliable now, at least for 16bpp 226 // This seems to be reliable now, at least for 16bpp
227 227
228 --- qt-2.3.7/src/kernel/qwindowsystem_qws.cpp~qte237-all2003-07-17 03:20:26.000000000 +0200 228 --- qt-2.3.7/src/kernel/qwindowsystem_qws.cpp~qte237-all2003-07-17 03:20:26.000000000 +0200
229 +++ qt-2.3.7/src/kernel/qwindowsystem_qws.cpp2004-04-15 21:06:51.240855770 +0200 229 +++ qt-2.3.7/src/kernel/qwindowsystem_qws.cpp2004-04-24 17:12:59.000000000 +0200
230@@ -844,6 +844,18 @@ 230@@ -844,6 +844,18 @@
231 { 231 {
232 } 232 }
@@ -255,7 +255,7 @@
255 focusw = 0; 255 focusw = 0;
256 mouseGrabber = 0; 256 mouseGrabber = 0;
257 --- qt-2.3.7/src/widgets/qcommonstyle.cpp~qte237-all2003-07-17 03:20:26.000000000 +0200 257 --- qt-2.3.7/src/widgets/qcommonstyle.cpp~qte237-all2003-07-17 03:20:26.000000000 +0200
258 +++ qt-2.3.7/src/widgets/qcommonstyle.cpp2004-04-15 21:06:51.240855770 +0200 258 +++ qt-2.3.7/src/widgets/qcommonstyle.cpp2004-04-24 17:12:59.000000000 +0200
259@@ -566,7 +566,7 @@ 259@@ -566,7 +566,7 @@
260 bool enabled, bool active ) 260 bool enabled, bool active )
261 { 261 {
@@ -266,7 +266,7 @@
266 QDrawMenuBarItemImpl impl = draw_menu_bar_impl; 266 QDrawMenuBarItemImpl impl = draw_menu_bar_impl;
267 (this->*impl)(p, x, y, w, h, mi, g, enabled, active); 267 (this->*impl)(p, x, y, w, h, mi, g, enabled, active);
268 --- qt-2.3.7/src/widgets/qlistview.cpp~qte237-all2003-07-17 03:20:26.000000000 +0200 268 --- qt-2.3.7/src/widgets/qlistview.cpp~qte237-all2003-07-17 03:20:26.000000000 +0200
269 +++ qt-2.3.7/src/widgets/qlistview.cpp2004-04-15 21:06:51.243855303 +0200 269 +++ qt-2.3.7/src/widgets/qlistview.cpp2004-04-24 17:12:59.000000000 +0200
270@@ -4968,9 +4968,9 @@ 270@@ -4968,9 +4968,9 @@
271 l = l->childItem ? l->childItem : l->siblingItem; 271 l = l->childItem ? l->childItem : l->siblingItem;
272 272
@@ -281,7 +281,7 @@
281 if ( s.width() > s.height() * 3 ) 281 if ( s.width() > s.height() * 3 )
282 s.setHeight( s.width() / 3 ); 282 s.setHeight( s.width() / 3 );
283 --- qt-2.3.7/src/widgets/qtoolbutton.cpp~qte237-all2003-07-17 03:20:27.000000000 +0200 283 --- qt-2.3.7/src/widgets/qtoolbutton.cpp~qte237-all2003-07-17 03:20:27.000000000 +0200
284 +++ qt-2.3.7/src/widgets/qtoolbutton.cpp2004-04-15 21:06:51.243855303 +0200 284 +++ qt-2.3.7/src/widgets/qtoolbutton.cpp2004-04-24 17:12:59.000000000 +0200
285@@ -230,7 +230,7 @@ 285@@ -230,7 +230,7 @@
286 else 286 else
287 QToolTip::add( this, textLabel ); 287 QToolTip::add( this, textLabel );
@@ -310,7 +310,7 @@
310 w = pm.width(); 310 w = pm.width();
311 h = pm.height(); 311 h = pm.height();
312 --- qt-2.3.7/src/kernel/qkeyboard_qws.cpp~qte237-all2003-07-17 03:20:25.000000000 +0200 312 --- qt-2.3.7/src/kernel/qkeyboard_qws.cpp~qte237-all2003-07-17 03:20:25.000000000 +0200
313 +++ qt-2.3.7/src/kernel/qkeyboard_qws.cpp2004-04-15 21:06:51.244855148 +0200 313 +++ qt-2.3.7/src/kernel/qkeyboard_qws.cpp2004-04-24 17:12:59.000000000 +0200
314@@ -238,7 +238,7 @@ 314@@ -238,7 +238,7 @@
315 { Qt::Key_unknown,0xffff , 0xffff , 0xffff }, // 63 315 { Qt::Key_unknown,0xffff , 0xffff , 0xffff }, // 63
316 { Qt::Key_unknown,0xffff , 0xffff , 0xffff }, // 64 316 { Qt::Key_unknown,0xffff , 0xffff , 0xffff }, // 64
@@ -321,7 +321,7 @@
321 { Qt::Key_unknown,0xffff , 0xffff , 0xffff }, // 68 321 { Qt::Key_unknown,0xffff , 0xffff , 0xffff }, // 68
322 { Qt::Key_unknown,0xffff , 0xffff , 0xffff }, // 69 322 { Qt::Key_unknown,0xffff , 0xffff , 0xffff }, // 69
323 --- qt-2.3.7/configs/linux-generic-g++-shared~qte237-all2003-07-17 03:23:08.000000000 +0200 323 --- qt-2.3.7/configs/linux-generic-g++-shared~qte237-all2003-07-17 03:23:08.000000000 +0200
324 +++ qt-2.3.7/configs/linux-generic-g++-shared2004-04-15 21:06:51.244855148 +0200 324 +++ qt-2.3.7/configs/linux-generic-g++-shared2004-04-24 17:12:59.000000000 +0200
325@@ -36,7 +36,7 @@ 325@@ -36,7 +36,7 @@
326 SYSCONF_LIBS_YACC= 326 SYSCONF_LIBS_YACC=
327 327
@@ -332,7 +332,7 @@
332 SYSCONF_LIBS = 332 SYSCONF_LIBS =
333 333
334 --- qt-2.3.7/configs/linux-generic-g++-shared-debug~qte237-all2003-07-17 03:23:08.000000000 +0200 334 --- qt-2.3.7/configs/linux-generic-g++-shared-debug~qte237-all2003-07-17 03:23:08.000000000 +0200
335 +++ qt-2.3.7/configs/linux-generic-g++-shared-debug2004-04-15 21:06:51.244855148 +0200 335 +++ qt-2.3.7/configs/linux-generic-g++-shared-debug2004-04-24 17:12:59.000000000 +0200
336@@ -36,7 +36,7 @@ 336@@ -36,7 +36,7 @@
337 SYSCONF_LIBS_YACC= 337 SYSCONF_LIBS_YACC=
338 338
@@ -343,7 +343,7 @@
343 SYSCONF_LIBS = 343 SYSCONF_LIBS =
344 344
345 --- qt-2.3.7/configs/linux-generic-g++-static~qte237-all2003-07-17 03:23:08.000000000 +0200 345 --- qt-2.3.7/configs/linux-generic-g++-static~qte237-all2003-07-17 03:23:08.000000000 +0200
346 +++ qt-2.3.7/configs/linux-generic-g++-static2004-04-15 21:06:51.244855148 +0200 346 +++ qt-2.3.7/configs/linux-generic-g++-static2004-04-24 17:12:59.000000000 +0200
347@@ -36,7 +36,7 @@ 347@@ -36,7 +36,7 @@
348 SYSCONF_LIBS_YACC= 348 SYSCONF_LIBS_YACC=
349 349
@@ -354,7 +354,7 @@
354 SYSCONF_LIBS = 354 SYSCONF_LIBS =
355 355
356 --- qt-2.3.7/configs/linux-generic-g++-static-debug~qte237-all2003-07-17 03:23:08.000000000 +0200 356 --- qt-2.3.7/configs/linux-generic-g++-static-debug~qte237-all2003-07-17 03:23:08.000000000 +0200
357 +++ qt-2.3.7/configs/linux-generic-g++-static-debug2004-04-15 21:06:51.245854992 +0200 357 +++ qt-2.3.7/configs/linux-generic-g++-static-debug2004-04-24 17:12:59.000000000 +0200
358@@ -36,7 +36,7 @@ 358@@ -36,7 +36,7 @@
359 SYSCONF_LIBS_YACC= 359 SYSCONF_LIBS_YACC=
360 360
@@ -365,7 +365,7 @@
365 SYSCONF_LIBS = 365 SYSCONF_LIBS =
366 366
367 --- qt-2.3.7/configs/linux-generic_rtti-g++-shared~qte237-all2003-07-17 03:23:08.000000000 +0200 367 --- qt-2.3.7/configs/linux-generic_rtti-g++-shared~qte237-all2003-07-17 03:23:08.000000000 +0200
368 +++ qt-2.3.7/configs/linux-generic_rtti-g++-shared2004-04-15 21:06:51.245854992 +0200 368 +++ qt-2.3.7/configs/linux-generic_rtti-g++-shared2004-04-24 17:12:59.000000000 +0200
369@@ -36,7 +36,7 @@ 369@@ -36,7 +36,7 @@
370 SYSCONF_LIBS_YACC= 370 SYSCONF_LIBS_YACC=
371 371
@@ -376,7 +376,7 @@
376 SYSCONF_LIBS = 376 SYSCONF_LIBS =
377 377
378 --- qt-2.3.7/configs/linux-generic_rtti-g++-shared-debug~qte237-all2003-07-17 03:23:08.000000000 +0200 378 --- qt-2.3.7/configs/linux-generic_rtti-g++-shared-debug~qte237-all2003-07-17 03:23:08.000000000 +0200
379 +++ qt-2.3.7/configs/linux-generic_rtti-g++-shared-debug2004-04-15 21:06:51.245854992 +0200 379 +++ qt-2.3.7/configs/linux-generic_rtti-g++-shared-debug2004-04-24 17:12:59.000000000 +0200
380@@ -36,7 +36,7 @@ 380@@ -36,7 +36,7 @@
381 SYSCONF_LIBS_YACC= 381 SYSCONF_LIBS_YACC=
382 382
@@ -387,7 +387,7 @@
387 SYSCONF_LIBS = 387 SYSCONF_LIBS =
388 388
389 --- qt-2.3.7/configs/linux-generic_rtti-g++-static~qte237-all2003-07-17 03:23:08.000000000 +0200 389 --- qt-2.3.7/configs/linux-generic_rtti-g++-static~qte237-all2003-07-17 03:23:08.000000000 +0200
390 +++ qt-2.3.7/configs/linux-generic_rtti-g++-static2004-04-15 21:06:51.245854992 +0200 390 +++ qt-2.3.7/configs/linux-generic_rtti-g++-static2004-04-24 17:12:59.000000000 +0200
391@@ -36,7 +36,7 @@ 391@@ -36,7 +36,7 @@
392 SYSCONF_LIBS_YACC= 392 SYSCONF_LIBS_YACC=
393 393
@@ -398,7 +398,7 @@
398 SYSCONF_LIBS = 398 SYSCONF_LIBS =
399 399
400 --- qt-2.3.7/configs/linux-generic_rtti-g++-static-debug~qte237-all2003-07-17 03:23:08.000000000 +0200 400 --- qt-2.3.7/configs/linux-generic_rtti-g++-static-debug~qte237-all2003-07-17 03:23:08.000000000 +0200
401 +++ qt-2.3.7/configs/linux-generic_rtti-g++-static-debug2004-04-15 21:06:51.245854992 +0200 401 +++ qt-2.3.7/configs/linux-generic_rtti-g++-static-debug2004-04-24 17:12:59.000000000 +0200
402@@ -36,7 +36,7 @@ 402@@ -36,7 +36,7 @@
403 SYSCONF_LIBS_YACC= 403 SYSCONF_LIBS_YACC=
404 404
@@ -409,7 +409,7 @@
409 SYSCONF_LIBS = 409 SYSCONF_LIBS =
410 410
411 --- qt-2.3.7/configs/linux-x86rtti-g++-shared~qte237-all2003-07-17 03:23:10.000000000 +0200 411 --- qt-2.3.7/configs/linux-x86rtti-g++-shared~qte237-all2003-07-17 03:23:10.000000000 +0200
412 +++ qt-2.3.7/configs/linux-x86rtti-g++-shared2004-04-15 21:06:51.245854992 +0200 412 +++ qt-2.3.7/configs/linux-x86rtti-g++-shared2004-04-24 17:12:59.000000000 +0200
413@@ -36,7 +36,7 @@ 413@@ -36,7 +36,7 @@
414 SYSCONF_LIBS_YACC= 414 SYSCONF_LIBS_YACC=
415 415
@@ -420,7 +420,7 @@
420 SYSCONF_LIBS = -lm 420 SYSCONF_LIBS = -lm
421 421
422 --- qt-2.3.7/configs/linux-x86rtti-g++-shared-debug~qte237-all2003-07-17 03:23:10.000000000 +0200 422 --- qt-2.3.7/configs/linux-x86rtti-g++-shared-debug~qte237-all2003-07-17 03:23:10.000000000 +0200
423 +++ qt-2.3.7/configs/linux-x86rtti-g++-shared-debug2004-04-15 21:06:51.245854992 +0200 423 +++ qt-2.3.7/configs/linux-x86rtti-g++-shared-debug2004-04-24 17:12:59.000000000 +0200
424@@ -36,7 +36,7 @@ 424@@ -36,7 +36,7 @@
425 SYSCONF_LIBS_YACC= 425 SYSCONF_LIBS_YACC=
426 426
@@ -431,7 +431,7 @@
431 SYSCONF_LIBS = -lm 431 SYSCONF_LIBS = -lm
432 432
433 --- qt-2.3.7/configs/linux-x86rtti-g++-static~qte237-all2003-07-17 03:23:10.000000000 +0200 433 --- qt-2.3.7/configs/linux-x86rtti-g++-static~qte237-all2003-07-17 03:23:10.000000000 +0200
434 +++ qt-2.3.7/configs/linux-x86rtti-g++-static2004-04-15 21:06:51.246854837 +0200 434 +++ qt-2.3.7/configs/linux-x86rtti-g++-static2004-04-24 17:12:59.000000000 +0200
435@@ -36,7 +36,7 @@ 435@@ -36,7 +36,7 @@
436 SYSCONF_LIBS_YACC= 436 SYSCONF_LIBS_YACC=
437 437
@@ -442,7 +442,7 @@
442 SYSCONF_LIBS = -lm 442 SYSCONF_LIBS = -lm
443 443
444 --- qt-2.3.7/configs/linux-x86rtti-g++-static-debug~qte237-all2003-07-17 03:23:10.000000000 +0200 444 --- qt-2.3.7/configs/linux-x86rtti-g++-static-debug~qte237-all2003-07-17 03:23:10.000000000 +0200
445 +++ qt-2.3.7/configs/linux-x86rtti-g++-static-debug2004-04-15 21:06:51.246854837 +0200 445 +++ qt-2.3.7/configs/linux-x86rtti-g++-static-debug2004-04-24 17:12:59.000000000 +0200
446@@ -36,7 +36,7 @@ 446@@ -36,7 +36,7 @@
447 SYSCONF_LIBS_YACC= 447 SYSCONF_LIBS_YACC=
448 448
@@ -453,7 +453,7 @@
453 SYSCONF_LIBS = -lm 453 SYSCONF_LIBS = -lm
454 454
455 --- qt-2.3.7/src/kernel/qimage.cpp~qte237-all2003-07-17 03:20:25.000000000 +0200 455 --- qt-2.3.7/src/kernel/qimage.cpp~qte237-all2003-07-17 03:20:25.000000000 +0200
456 +++ qt-2.3.7/src/kernel/qimage.cpp2004-04-15 21:07:23.293869923 +0200 456 +++ qt-2.3.7/src/kernel/qimage.cpp2004-04-24 17:12:59.000000000 +0200
457@@ -2201,7 +2201,7 @@ 457@@ -2201,7 +2201,7 @@
458 t2 = srcHeight * dstWidth; 458 t2 = srcHeight * dstWidth;
459 459
@@ -463,3 +463,14 @@
463 dstHeight = t2 / srcWidth; 463 dstHeight = t2 / srcWidth;
464 } else if (sModeQStr != "ScaleFree") { 464 } else if (sModeQStr != "ScaleFree") {
465 dstWidth = t1 / srcHeight; 465 dstWidth = t1 / srcHeight;
466 --- qt-2.3.7/src/tools/qsortedlist.h~qte237-all2003-07-17 03:20:26.000000000 +0200
467 +++ qt-2.3.7/src/tools/qsortedlist.h2004-04-24 17:13:57.000000000 +0200
468@@ -48,7 +48,7 @@
469 public:
470 QSortedList() {}
471 QSortedList( const QSortedList<type> &l ) : QList<type>(l) {}
472- ~QSortedList() { clear(); }
473+ ~QSortedList() { this->clear(); }
474 QSortedList<type> &operator=(const QSortedList<type> &l)
475 { return (QSortedList<type>&)QList<type>::operator=(l); }
476