meta-qt3 : Add a patch to pass the compiling of qt3
cover meta-qt3 : Add a patch to pass the compiling of qt3
From: Xiaofeng Yan <[email protected]>
Failed to compile qt3 because of the updated of library libstdc++ and compilation tool. The error information from compiling qt3 is that "error: 'ptrdiff_t' does not name a type". So I add head file "cstddef" which defines this data type to "qvaluelist.h" from qt3.
Pull URL: git://git.pokylinux.org/poky-contrib.git
Branch: xiaofeng/meta-qt3
Browse: http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=xiaofeng/meta-qt3
Thanks,
Xiaofeng Yan <[email protected]>
---
Xiaofeng Yan (1):
Qt3: Add head file "cstddef" to Qt3
recipes-qt3/qt3/qt-x11-free/qt3-cstddef.patch | 18 ++++++++++++++++++ recipes-qt3/qt3/qt-x11-free_3.3.7.bb | 3 ++- 2 files changed, 20 insertions(+), 1 deletions(-) create mode 100644 recipes-qt3/qt3/qt-x11-free/qt3-cstddef.patch
PATCH 1/1 Qt3: Add head file "cstddef" to Qt3
From: Xiaofeng Yan <[email protected]>
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".
--- recipes-qt3/qt3/qt-x11-free/qt3-cstddef.patch | 18 ++++++++++++++++++ recipes-qt3/qt3/qt-x11-free_3.3.7.bb | 3 ++- 2 files changed, 20 insertions(+), 1 deletions(-) create mode 100644 recipes-qt3/qt3/qt-x11-free/qt3-cstddef.patch
recipes-qt3/qt3/qt-x11-free/qt3-cstddef.patch new file +18 -0
@@ -0,0 +1,18 @@ +Qt3 will report "error: 'ptrdiff_t' does not name a type" while building lsb \ +image with the updated library libstdc++ and complication tool. +The data type "ptrdiff_t" is defined in file cstddef. + +Upstream-Status: Pending + +Signed-off-by: [email protected] + +--- qt-x11-free-3.3.7/src/tools/qvaluelist.h 2006-10-19 22:25:01.000000000 +0800 ++++ qt-x11-free-3.3.7/src/tools/qvaluelist.h.new 2011-06-07 14:57:06.288997350 +0800 +@@ -47,6 +47,7 @@ + #ifndef QT_NO_STL + #include <iterator> + #include <list> ++#include <cstddef> + #endif + + //#define QT_CHECK_VALUELIST_RANGE
recipes-qt3/qt3/qt-x11-free_3.3.7.bb +2 -1
@@ -9,7 +9,8 @@ LIC_FILES_CHKSUM = "file://LICENSE.GPL;md5=b07b0d5ac6b1822effe47173a1744433 \ SRC_URI = "ftp://ftp.trolltech.com/qt/source/qt-x11-free-${PV}.tar.bz2 \ file://configure.patch \ file://no-examples.patch \ - file://gcc4_1-HACK.patch" + file://gcc4_1-HACK.patch \ + file://qt3-cstddef.patch" require qt-x11-free-common.inc
Signature · 1 line
1.7.0.4
Saul Wold
AppliedRe: [PATCH 1/1] Qt3: Add head file "cstddef" to Qt3
Quoted 42 lines · Xiaofeng Yan
From: Xiaofeng Yan<[email protected]>
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<[email protected]>--- recipes-qt3/qt3/qt-x11-free/qt3-cstddef.patch | 18 ++++++++++++++++++ recipes-qt3/qt3/qt-x11-free_3.3.7.bb | 3 ++- 2 files changed, 20 insertions(+), 1 deletions(-)create mode 100644
recipes-qt3/qt3/qt-x11-free/qt3-cstddef.patchrecipes-qt3/qt3/qt-x11-free/qt3-cstddef.patch new file +18
-0@@ -0,0 +1,18 @@ +Qt3 will report "error: 'ptrdiff_t' does not name a type" while building lsb \ +image with the updated library libstdc++ and complication tool. +The data type "ptrdiff_t" is defined in file cstddef. + +Upstream-Status: Pending + +Signed-off-by: [email protected] + +--- qt-x11-free-3.3.7/src/tools/qvaluelist.h 2006-10-19 22:25:01.000000000 +0800 ++++ qt-x11-free-3.3.7/src/tools/qvaluelist.h.new 2011-06-07 14:57:06.288997350 +0800 +@@ -47,6 +47,7 @@ + #ifndef QT_NO_STL + #include<iterator> + #include<list> ++#include<cstddef> + #endif + + //#define QT_CHECK_VALUELIST_RANGErecipes-qt3/qt3/qt-x11-free_3.3.7.bb +0
-0
recipes-qt3/qt3/qt-x11-free_3.3.7.bb LIC_FILES_CHKSUM = "file://LICENSE.GPL;md5=b07b0d5ac6b1822effe47173a1744433 \ · line 16
Quoted 9 lines
recipes-qt3/qt3/qt-x11-free_3.3.7.bb +2
-1@@ -9,7 +9,8 @@ LIC_FILES_CHKSUM = "file://LICENSE.GPL;md5=b07b0d5ac6b1822effe47173a1744433 \ SRC_URI = "ftp://ftp.trolltech.com/qt/source/qt-x11-free-${PV}.tar.bz2 \ file://configure.patch \ file://no-examples.patch \ - file://gcc4_1-HACK.patch" + file://gcc4_1-HACK.patch \ + file://qt3-cstddef.patch" require qt-x11-free-common.inc
Merged into meta-qt3
Thanks
Sau!
Quoted 10 lines · Xiaofeng Yan
From: Xiaofeng Yan<[email protected]>
Failed to compile qt3 because of the updated of library libstdc++ and compilation tool. The error information from compiling qt3 is that "error: '
ptrdiff_t' does not name a type". So I add head file "cstddef" which defines this data type to "qvaluelist.h" from qt3.Pull URL:
git://git.pokylinux.org/poky-contrib.git
Branch: xiaofeng/meta-qt3
Browse: http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=xiaofeng/meta-qt3
Please rebase this patch to be against the meta-qt3 repo, not the poky repo, which you currently used.
Patches against meta-qt3 should be against the layer repo.
Thanks
Sau!
Quoted 18 lines
Thanks,
Xiaofeng Yan<[email protected]>
---Xiaofeng Yan (1):
Qt3: Add head file "cstddef" to Qt3recipes-qt3/qt3/qt-x11-free/qt3-cstddef.patch | 18 ++++++++++++++++++ recipes-qt3/qt3/qt-x11-free_3.3.7.bb | 3 ++- 2 files changed, 20 insertions(+), 1 deletions(-)create mode 100644
recipes-qt3/qt3/qt-x11-free/qt3-cstddef.patch_______________________________________________
poky mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/poky