Magellan Linux

Contents of /trunk/qt/patches/qt-3.3.8b-gcc46.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1382 - (show annotations) (download)
Thu Jun 30 08:06:17 2011 UTC (12 years, 10 months ago) by niro
File size: 1207 byte(s)
-added fix for gcc-4.6
1 diff -up qt-x11-free-3.3.8b/src/tools/qmap.h.cstddef qt-x11-free-3.3.8b/src/tools/qmap.h
2 --- qt-x11-free-3.3.8b/src/tools/qmap.h.cstddef 2008-01-15 13:09:13.000000000 -0600
3 +++ qt-x11-free-3.3.8b/src/tools/qmap.h 2011-01-30 21:14:29.275088725 -0600
4 @@ -49,6 +49,7 @@
5 #include "qvaluelist.h"
6 #endif // QT_H
7
8 +#include <cstddef>
9 #ifndef QT_NO_STL
10 #include <iterator>
11 #include <map>
12 diff -up qt-x11-free-3.3.8b/src/tools/qvaluelist.h.cstddef qt-x11-free-3.3.8b/src/tools/qvaluelist.h
13 --- qt-x11-free-3.3.8b/src/tools/qvaluelist.h.cstddef 2008-01-15 13:09:13.000000000 -0600
14 +++ qt-x11-free-3.3.8b/src/tools/qvaluelist.h 2011-01-30 21:14:01.765846592 -0600
15 @@ -47,6 +47,7 @@
16 #include "qdatastream.h"
17 #endif // QT_H
18
19 +#include <cstddef>
20 #ifndef QT_NO_STL
21 #include <iterator>
22 #include <list>
23 diff -up qt-x11-free-3.3.8b/src/tools/qvaluevector.h.cstddef qt-x11-free-3.3.8b/src/tools/qvaluevector.h
24 --- qt-x11-free-3.3.8b/src/tools/qvaluevector.h.cstddef 2008-01-15 13:09:13.000000000 -0600
25 +++ qt-x11-free-3.3.8b/src/tools/qvaluevector.h 2011-01-30 21:14:01.765846592 -0600
26 @@ -45,6 +45,7 @@
27 #include "qdatastream.h"
28 #endif // QT_H
29
30 +#include <cstddef>
31 #ifndef QT_NO_STL
32 #include <vector>
33 #endif