All of lore.kernel.org
 help / color / mirror / Atom feed
From: Saul Wold <sgw@linux.intel.com>
To: Xiaofeng Yan <xiaofeng.yan@windriver.com>
Cc: poky@yoctoproject.org
Subject: Re: [PATCH 1/1] Qt3: Add head file "cstddef" to Qt3
Date: Thu, 09 Jun 2011 13:17:35 -0700	[thread overview]
Message-ID: <4DF12A5F.8070307@linux.intel.com> (raw)
In-Reply-To: <6d4d6e0b58378e0a7070e6d9fc7e9085f061ee24.1307533714.git.xiaofeng.yan@windriver.com>

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!



  reply	other threads:[~2011-06-09 20:17 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2011-06-08 14:19 ` [PATCH 0/1] meta-qt3 : Add a patch to pass the compiling of qt3 Saul Wold

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4DF12A5F.8070307@linux.intel.com \
    --to=sgw@linux.intel.com \
    --cc=poky@yoctoproject.org \
    --cc=xiaofeng.yan@windriver.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.