* [PATCH 0/1] meta-qt3 : Add a patch to pass the compiling of qt3
@ 2011-06-08 11:57 Xiaofeng Yan
2011-06-08 11:57 ` [PATCH 1/1] Qt3: Add head file "cstddef" to Qt3 Xiaofeng Yan
2011-06-08 14:19 ` [PATCH 0/1] meta-qt3 : Add a patch to pass the compiling of qt3 Saul Wold
0 siblings, 2 replies; 4+ messages in thread
From: Xiaofeng Yan @ 2011-06-08 11:57 UTC (permalink / raw)
To: poky
From: Xiaofeng Yan <xiaofeng.yan@windriver.com>
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 <xiaofeng.yan@windriver.com>
---
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH 1/1] Qt3: Add head file "cstddef" to Qt3
2011-06-08 11:57 [PATCH 0/1] meta-qt3 : Add a patch to pass the compiling of qt3 Xiaofeng Yan
@ 2011-06-08 11:57 ` Xiaofeng Yan
2011-06-09 20:17 ` Saul Wold
2011-06-08 14:19 ` [PATCH 0/1] meta-qt3 : Add a patch to pass the compiling of qt3 Saul Wold
1 sibling, 1 reply; 4+ messages in thread
From: Xiaofeng Yan @ 2011-06-08 11:57 UTC (permalink / raw)
To: poky
From: Xiaofeng Yan <xiaofeng.yan@windriver.com>
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>
---
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
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 @@
+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: xiaofeng.yan@windriver.com
+
+--- 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
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 \
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
--
1.7.0.4
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH 0/1] meta-qt3 : Add a patch to pass the compiling of qt3
2011-06-08 11:57 [PATCH 0/1] meta-qt3 : Add a patch to pass the compiling of qt3 Xiaofeng Yan
2011-06-08 11:57 ` [PATCH 1/1] Qt3: Add head file "cstddef" to Qt3 Xiaofeng Yan
@ 2011-06-08 14:19 ` Saul Wold
1 sibling, 0 replies; 4+ messages in thread
From: Saul Wold @ 2011-06-08 14:19 UTC (permalink / raw)
To: Xiaofeng Yan; +Cc: poky
On 06/08/2011 04:57 AM, Xiaofeng Yan wrote:
> From: Xiaofeng Yan<xiaofeng.yan@windriver.com>
>
> 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!
> Thanks,
> Xiaofeng Yan<xiaofeng.yan@windriver.com>
> ---
>
>
> 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
>
> _______________________________________________
> poky mailing list
> poky@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/poky
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH 1/1] Qt3: Add head file "cstddef" to Qt3
2011-06-08 11:57 ` [PATCH 1/1] Qt3: Add head file "cstddef" to Qt3 Xiaofeng Yan
@ 2011-06-09 20:17 ` Saul Wold
0 siblings, 0 replies; 4+ messages in thread
From: Saul Wold @ 2011-06-09 20:17 UTC (permalink / raw)
To: Xiaofeng Yan; +Cc: poky
On 06/08/2011 07:31 PM, Xiaofeng Yan wrote:
> From: Xiaofeng Yan<xiaofeng.yan@windriver.com>
>
> 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>
> ---
> 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
>
> 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 @@
> +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: xiaofeng.yan@windriver.com
> +
> +--- 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
> 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 \
> 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!
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-06-09 20:17 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-08 11:57 [PATCH 0/1] meta-qt3 : Add a patch to pass the compiling of qt3 Xiaofeng Yan
2011-06-08 11:57 ` [PATCH 1/1] Qt3: Add head file "cstddef" to Qt3 Xiaofeng Yan
2011-06-09 20:17 ` Saul Wold
2011-06-08 14:19 ` [PATCH 0/1] meta-qt3 : Add a patch to pass the compiling of qt3 Saul Wold
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.