diff options
author | Xiaofeng Yan <xiaofeng.yan@windriver.com> | 2011-06-09 10:31:19 +0800 |
---|---|---|
committer | Saul Wold <sgw@linux.intel.com> | 2011-06-09 13:16:50 -0700 |
commit | 0f1471d04eb10e6476d1fd94c76897824c81f894 (patch) | |
tree | 74fd26b11878ee23695632a16c42f4625aaafd44 /recipes-qt3 | |
parent | c210f2c9d10d813d1981883c509ba1e27da85ddc (diff) | |
download | meta-qt3-0f1471d04eb10e6476d1fd94c76897824c81f894.tar.gz |
Qt3: Add head file "cstddef" to Qt3
Failed to compile Qt3 while building lsb image with the updated library libstdc++
and compilation tool. Qt3 reported data type "ptrdiff_t" doesn't name a type.
Actually "ptrdiff_t" is defined in head file "cstddef".
Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
Diffstat (limited to 'recipes-qt3')
-rw-r--r-- | recipes-qt3/qt3/qt-x11-free/qt3-cstddef.patch | 18 | ||||
-rw-r--r-- | recipes-qt3/qt3/qt-x11-free_3.3.7.bb | 3 |
2 files changed, 20 insertions, 1 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 | ||
diff --git a/recipes-qt3/qt3/qt-x11-free_3.3.7.bb b/recipes-qt3/qt3/qt-x11-free_3.3.7.bb index 9a3bcf9..94486ed 100644 --- a/recipes-qt3/qt3/qt-x11-free_3.3.7.bb +++ b/recipes-qt3/qt3/qt-x11-free_3.3.7.bb | |||
@@ -9,7 +9,8 @@ LIC_FILES_CHKSUM = "file://LICENSE.GPL;md5=b07b0d5ac6b1822effe47173a1744433 \ | |||
9 | SRC_URI = "ftp://ftp.trolltech.com/qt/source/qt-x11-free-${PV}.tar.bz2 \ | 9 | SRC_URI = "ftp://ftp.trolltech.com/qt/source/qt-x11-free-${PV}.tar.bz2 \ |
10 | file://configure.patch \ | 10 | file://configure.patch \ |
11 | file://no-examples.patch \ | 11 | file://no-examples.patch \ |
12 | file://gcc4_1-HACK.patch" | 12 | file://gcc4_1-HACK.patch \ |
13 | file://qt3-cstddef.patch" | ||
13 | 14 | ||
14 | require qt-x11-free-common.inc | 15 | require qt-x11-free-common.inc |
15 | 16 | ||