Patchwork meta-openembedded: Replace vestiges of "pnum=" with "striplevel=".

login
register
mail settings
Submitter Robert P. J. Day
Date Dec. 13, 2012, 1:16 a.m.
Message ID <alpine.DEB.2.02.1212122013560.917@oneiric>
Download mbox | patch
Permalink /patch/40865/
State New
Headers show

Comments

Robert P. J. Day - Dec. 13, 2012, 1:16 a.m.
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>

---

  given that these were the last usages of "pnum=" that i'm aware of,
i'll submit a patch to remove the processing from patch.bbclass --
someone else can decide whether or not to apply it.
Martin Jansa - Dec. 13, 2012, 7 a.m.
On Wed, Dec 12, 2012 at 08:16:16PM -0500, Robert P. J. Day wrote:
> 
> Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>

This belongs to openembedded-devel@lists.openembedded.org ML with
[meta-oe] tag in subject, please read README in layer top directory.

Cheers,

> 
> ---
> 
>   given that these were the last usages of "pnum=" that i'm aware of,
> i'll submit a patch to remove the processing from patch.bbclass --
> someone else can decide whether or not to apply it.
> 
> diff --git a/meta-oe/recipes-support/vim/vim_7.2.446.bb b/meta-oe/recipes-support/vim/vim_7.2.446.bb
> index 62d76d7..ea922f5 100644
> --- a/meta-oe/recipes-support/vim/vim_7.2.446.bb
> +++ b/meta-oe/recipes-support/vim/vim_7.2.446.bb
> @@ -12,11 +12,11 @@ require vim.inc
>  PR = "${INC_PR}.3"
> 
>  # 001-446; 401-446 are not yet available online
> -SRC_URI += "http://ftp.vim.org/pub/vim/patches/7.2/7.2.001-100.gz;name=p001-100;apply=yes;patchdir=..;pnum=0"
> -SRC_URI += "http://ftp.vim.org/pub/vim/patches/7.2/7.2.101-200.gz;name=p101-200;apply=yes;patchdir=..;pnum=0"
> -SRC_URI += "http://ftp.vim.org/pub/vim/patches/7.2/7.2.201-300.gz;name=p201-300;apply=yes;patchdir=..;pnum=0"
> -SRC_URI += "http://ftp.vim.org/pub/vim/patches/7.2/7.2.301-400.gz;name=p301-400;apply=yes;patchdir=..;pnum=0"
> -SRC_URI += "file://401-446.diff;patchdir=..;pnum=0"
> +SRC_URI += "http://ftp.vim.org/pub/vim/patches/7.2/7.2.001-100.gz;name=p001-100;apply=yes;patchdir=..;striplevel=0"
> +SRC_URI += "http://ftp.vim.org/pub/vim/patches/7.2/7.2.101-200.gz;name=p101-200;apply=yes;patchdir=..;striplevel=0"
> +SRC_URI += "http://ftp.vim.org/pub/vim/patches/7.2/7.2.201-300.gz;name=p201-300;apply=yes;patchdir=..;striplevel=0"
> +SRC_URI += "http://ftp.vim.org/pub/vim/patches/7.2/7.2.301-400.gz;name=p301-400;apply=yes;patchdir=..;striplevel=0"
> +SRC_URI += "file://401-446.diff;patchdir=..;striplevel=0"
> 
>  SRC_URI[p001-100.md5sum] = "ba91b19374cee90f71b8f4ab1d92dc0f"
>  SRC_URI[p001-100.sha256sum] = "519f4fea460e4f7a737ea8006c0dc1684982f8372d1581fb963a5d58f8007f67"
> 
> -- 
> 
> ========================================================================
> Robert P. J. Day                                 Ottawa, Ontario, CANADA
>                         http://crashcourse.ca
> 
> Twitter:                                       http://twitter.com/rpjday
> LinkedIn:                               http://ca.linkedin.com/in/rpjday
> ========================================================================
> 
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Robert P. J. Day - Dec. 13, 2012, 12:16 p.m.
On Thu, 13 Dec 2012, Martin Jansa wrote:

> On Wed, Dec 12, 2012 at 08:16:16PM -0500, Robert P. J. Day wrote:
> >
> > Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
>
> This belongs to openembedded-devel@lists.openembedded.org ML with
> [meta-oe] tag in subject, please read README in layer top directory.

  ah, quite so, will resend shortly.

rday

Patch

diff --git a/meta-oe/recipes-support/vim/vim_7.2.446.bb b/meta-oe/recipes-support/vim/vim_7.2.446.bb
index 62d76d7..ea922f5 100644
--- a/meta-oe/recipes-support/vim/vim_7.2.446.bb
+++ b/meta-oe/recipes-support/vim/vim_7.2.446.bb
@@ -12,11 +12,11 @@  require vim.inc
 PR = "${INC_PR}.3"

 # 001-446; 401-446 are not yet available online
-SRC_URI += "http://ftp.vim.org/pub/vim/patches/7.2/7.2.001-100.gz;name=p001-100;apply=yes;patchdir=..;pnum=0"
-SRC_URI += "http://ftp.vim.org/pub/vim/patches/7.2/7.2.101-200.gz;name=p101-200;apply=yes;patchdir=..;pnum=0"
-SRC_URI += "http://ftp.vim.org/pub/vim/patches/7.2/7.2.201-300.gz;name=p201-300;apply=yes;patchdir=..;pnum=0"
-SRC_URI += "http://ftp.vim.org/pub/vim/patches/7.2/7.2.301-400.gz;name=p301-400;apply=yes;patchdir=..;pnum=0"
-SRC_URI += "file://401-446.diff;patchdir=..;pnum=0"
+SRC_URI += "http://ftp.vim.org/pub/vim/patches/7.2/7.2.001-100.gz;name=p001-100;apply=yes;patchdir=..;striplevel=0"
+SRC_URI += "http://ftp.vim.org/pub/vim/patches/7.2/7.2.101-200.gz;name=p101-200;apply=yes;patchdir=..;striplevel=0"
+SRC_URI += "http://ftp.vim.org/pub/vim/patches/7.2/7.2.201-300.gz;name=p201-300;apply=yes;patchdir=..;striplevel=0"
+SRC_URI += "http://ftp.vim.org/pub/vim/patches/7.2/7.2.301-400.gz;name=p301-400;apply=yes;patchdir=..;striplevel=0"
+SRC_URI += "file://401-446.diff;patchdir=..;striplevel=0"

 SRC_URI[p001-100.md5sum] = "ba91b19374cee90f71b8f4ab1d92dc0f"
 SRC_URI[p001-100.sha256sum] = "519f4fea460e4f7a737ea8006c0dc1684982f8372d1581fb963a5d58f8007f67"