diff options
Diffstat (limited to 'recipes-qt3/qt3/qt-x11-free/qt3-cstddef.patch')
-rw-r--r-- | recipes-qt3/qt3/qt-x11-free/qt3-cstddef.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/recipes-qt3/qt3/qt-x11-free/qt3-cstddef.patch b/recipes-qt3/qt3/qt-x11-free/qt3-cstddef.patch new file mode 100644 index 0000000..9a8f4b4 --- /dev/null +++ b/recipes-qt3/qt3/qt-x11-free/qt3-cstddef.patch | |||
@@ -0,0 +1,18 @@ | |||
1 | Qt3 will report "error: 'ptrdiff_t' does not name a type" while building lsb \ | ||
2 | image with the updated library libstdc++ and complication tool. | ||
3 | The data type "ptrdiff_t" is defined in file cstddef. | ||
4 | |||
5 | Upstream-Status: Pending | ||
6 | |||
7 | Signed-off-by: xiaofeng.yan@windriver.com | ||
8 | |||
9 | --- qt-x11-free-3.3.7/src/tools/qvaluelist.h 2006-10-19 22:25:01.000000000 +0800 | ||
10 | +++ qt-x11-free-3.3.7/src/tools/qvaluelist.h.new 2011-06-07 14:57:06.288997350 +0800 | ||
11 | @@ -47,6 +47,7 @@ | ||
12 | #ifndef QT_NO_STL | ||
13 | #include <iterator> | ||
14 | #include <list> | ||
15 | +#include <cstddef> | ||
16 | #endif | ||
17 | |||
18 | //#define QT_CHECK_VALUELIST_RANGE | ||