Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: Khem Raj <raj.khem@gmail.com>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [PATCH 4/5] perl-5.10.1: fix config var. 'need_va_copy'
Date: Sat, 25 Dec 2010 09:39:19 -0800	[thread overview]
Message-ID: <4D162C47.9080605@gmail.com> (raw)
In-Reply-To: <1293274109-15695-4-git-send-email-khimov@altell.ru>

On 12/25/2010 2:48 AM, Roman I Khimov wrote:
> From: Vladimir Sorokin<sorokin@altell.ru>
>
> On x86_64, powerpc&  s390 architectures need to copy va_list variable,
> if it got from overlying function, before it passed to underlying function.
>
> Signed-off-by: Vladimir Sorokin<sorokin@altell.ru>
> Signed-off-by: Roman I Khimov<khimov@altell.ru>

Acked-by: Khem Raj <raj.khem@gmail.com>
> ---
>   recipes/perl/perl_5.10.1.bb |    9 ++++++++-
>   1 files changed, 8 insertions(+), 1 deletions(-)
>
> diff --git a/recipes/perl/perl_5.10.1.bb b/recipes/perl/perl_5.10.1.bb
> index 0e6a1f9..a58b8ec 100644
> --- a/recipes/perl/perl_5.10.1.bb
> +++ b/recipes/perl/perl_5.10.1.bb
> @@ -5,7 +5,7 @@ LICENSE = "Artistic|GPLv1+"
>   PRIORITY = "optional"
>   # We need gnugrep (for -I)
>   DEPENDS = "virtual/db perl-native grep-native"
> -PR = "r16"
> +PR = "r17"
>
>   # 5.10.1 has Module::Build built-in
>   PROVIDES += "libmodule-build-perl"
> @@ -149,6 +149,13 @@ do_configure() {
>   	       -e 's,/usr/,${exec_prefix}/,g' \
>               config.sh-${TARGET_ARCH}-${TARGET_OS}
>
> +	case "${TARGET_ARCH}" in
> +		x86_64 | powerpc | s390)
> +			sed -i -e "s,\(need_va_copy=\)'undef',\1'define',g" \
> +				config.sh-${TARGET_ARCH}-${TARGET_OS}
> +			;;
> +	esac
> +
>           if test "${MACHINE}" != "native"; then
>               # These are strewn all over the source tree
>               for foo in `grep -I -m1 \/usr\/include\/.*\\.h ${WORKDIR}/* -r | cut -f 1 -d ":"` ; do




  parent reply	other threads:[~2010-12-25 17:39 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-25 10:48 [PATCH 1/5] perl: fix PERLCONFIGTARGET for multimach builds, move cpan vars Roman I Khimov
2010-12-25 10:48 ` [PATCH 2/5] perl 5.10.1: fix Time::HiRes cross-compilation Roman I Khimov
2010-12-25 10:48   ` [PATCH 3/5] perl-native: fix ExtUtils::Liblist::Kid library check for cross-build Roman I Khimov
2010-12-25 10:48     ` [PATCH 4/5] perl-5.10.1: fix config var. 'need_va_copy' Roman I Khimov
2010-12-25 10:48       ` [PATCH 5/5] perl: fix some arch-specific config.sh variables Roman I Khimov
2010-12-25 17:38         ` Khem Raj
2010-12-25 17:39       ` Khem Raj [this message]
2010-12-25 17:33     ` [PATCH 3/5] perl-native: fix ExtUtils::Liblist::Kid library check for cross-build Khem Raj
2010-12-25 18:05       ` Roman I Khimov
2010-12-25 19:55         ` Khem Raj
2010-12-25 17:30   ` [PATCH 2/5] perl 5.10.1: fix Time::HiRes cross-compilation Khem Raj
2010-12-25 18:25     ` Roman I Khimov
2010-12-25 19:57       ` Khem Raj
2010-12-26  6:26         ` Roman I Khimov
2010-12-25 17:23 ` [PATCH 1/5] perl: fix PERLCONFIGTARGET for multimach builds, move cpan vars Khem Raj
2010-12-25 18:44   ` Roman I Khimov
2010-12-25 20:01     ` Khem Raj

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=4D162C47.9080605@gmail.com \
    --to=raj.khem@gmail.com \
    --cc=openembedded-devel@lists.openembedded.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox