[Buildroot] [PATCH] package/bash: add upstream patches up to patch level 23
Thomas Petazzoni
thomas.petazzoni at bootlin.com
Thu Mar 14 20:33:07 UTC 2019
On Wed, 13 Mar 2019 10:39:55 +0100
Peter Korsgaard <peter at korsgaard.com> wrote:
> We unfortunately cannot easily download these because of the file names (not
> ending in patch) and patch format (p0), so convert to p1 format and include
> in package/bash with the following script:
>
> j=1; for i in 19 20 21 22 23; do
> file=$(printf '%04d-patch44-0%d.patch' $j $i)
> cat > $file << EOF
> From https://ftp.gnu.org/gnu/bash/bash-4.4-patches/bash44-0$i
>
> Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
>
> EOF
> curl https://ftp.gnu.org/gnu/bash/bash-4.4-patches/bash44-0$i | \
> sed -e 's|^\*\*\* \.\./|*** |' -e 's|^--- |--- b/|' >> $file
>
> j=$(( j + 1 ))
> done
>
> Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
> ---
> package/bash/0001-bash44-019.patch | 54 +++++++++++
> package/bash/0002-bash44-020.patch | 181 +++++++++++++++++++++++++++++++++++++
> package/bash/0003-bash44-021.patch | 61 +++++++++++++
> package/bash/0004-bash44-022.patch | 65 +++++++++++++
> package/bash/0005-bash44-023.patch | 56 ++++++++++++
> 5 files changed, 417 insertions(+)
> create mode 100644 package/bash/0001-bash44-019.patch
> create mode 100644 package/bash/0002-bash44-020.patch
> create mode 100644 package/bash/0003-bash44-021.patch
> create mode 100644 package/bash/0004-bash44-022.patch
> create mode 100644 package/bash/0005-bash44-023.patch
Applied to master, thanks. The bash project really has some creative
way of sharing those bug fixes :-/
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
More information about the buildroot
mailing list