All of lore.kernel.org
 help / color / mirror / Atom feed
From: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
To: openembedded-core@lists.openembedded.org
Cc: Marko Lindqvist <cazfi74-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Subject: Re: [PATCH] readline: apply upstream patches
Date: Wed, 28 Nov 2012 18:45:14 +0100	[thread overview]
Message-ID: <lyd2yx39lh.fsf@ensc-virt.intern.sigma-chemnitz.de> (raw)
In-Reply-To: <1354122393-26636-1-git-send-email-cazfi74@gmail.com> (Marko Lindqvist's message of "Wed, 28 Nov 2012 19:06:33 +0200")

Marko Lindqvist <cazfi74-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
writes:

> -SRC_URI = "${GNU_MIRROR}/readline/${BPN}-${PV}.tar.gz \
> +SRC_URI = "${GNU_MIRROR}/readline/${BPN}-${PV}.tar.gz;name=archive \
> +           ${GNU_MIRROR}/readline/readline-5.2-patches/readline52-001;name=patch1 \
> ...
> +readline_patch () {
> +	# patch-command used to fail because of garbage value in $TMPDIR
> +	unset TMPDIR
> +	patch -p0 -d ${S} < ${WORKDIR}/readline52-001

I think, SRC_URI entries with ';apply=yes;striplevel=0' attributes are a
better way to solve this. E.g.

+SRC_URI = "${GNU_MIRROR}/readline/${BPN}-${PV}.tar.gz;name=archive \
+           ${GNU_MIRROR}/readline/readline-5.2-patches/readline52-001;name=patch1;apply=yes;striplevel=0 \




Enrico



  reply	other threads:[~2012-11-28 17:59 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-28 17:06 [PATCH] readline: apply upstream patches Marko Lindqvist
2012-11-28 17:45 ` Enrico Scholz [this message]
  -- strict thread matches above, loose matches on Subject: below --
2012-11-28 18:27 Marko Lindqvist
2012-11-28 19:26 ` Saul Wold
2012-11-28 19:31   ` Marko Lindqvist
2012-11-29 11:15     ` Paul Eggleton

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=lyd2yx39lh.fsf@ensc-virt.intern.sigma-chemnitz.de \
    --to=enrico.scholz@sigma-chemnitz.de \
    --cc=cazfi74-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    --cc=openembedded-core@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 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.