diff options
author | Ørjan Malde <red@foxi.me> | 2020-12-08 14:41:26 +0100 |
---|---|---|
committer | Lucio Andrés Illanes Albornoz <lucio@lucioillanes.de> | 2020-12-08 17:50:39 +0000 |
commit | f902ce11dd19c47778657930d36df2a689c3ad74 (patch) | |
tree | f6bdf654887c993a1f9ddf69e3f62bf375bedea9 /patches/bash-5.1.local.patch | |
parent | 997df83357d69dcd4965d98c757e296df15f3a6e (diff) | |
download | midipix_build-f902ce11dd19c47778657930d36df2a689c3ad74.tar.bz2 midipix_build-f902ce11dd19c47778657930d36df2a689c3ad74.tar.xz |
groups/211.native_packages_cmdline.group: bash: bump to v5.1
Signed-off-by: Lucio Andrés Illanes Albornoz <lucio@lucioillanes.de>
Diffstat (limited to 'patches/bash-5.1.local.patch')
-rw-r--r-- | patches/bash-5.1.local.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/patches/bash-5.1.local.patch b/patches/bash-5.1.local.patch new file mode 100644 index 00000000..b2d55bef --- /dev/null +++ b/patches/bash-5.1.local.patch @@ -0,0 +1,23 @@ +diff -ru bash-5.1.orig/configure bash-5.1/configure +--- bash-5.1.orig/configure 2020-12-04 15:05:14.000000000 +0100 ++++ bash-5.1/configure 2020-12-08 14:34:05.162114735 +0100 +@@ -2917,6 +2917,7 @@ + *-nsk*) opt_bash_malloc=no ;; # HP NonStop + *-haiku*) opt_bash_malloc=no ;; # Haiku OS + *-genode*) opt_bash_malloc=no ;; # Genode has no sbrk ++*-midipix*) opt_bash_malloc=no ;; # Midipix + esac + + # memory scrambling on free() +diff -ru bash-5.1.orig/lib/sh/oslib.c bash-5.1/lib/sh/oslib.c +--- bash-5.1.orig/lib/sh/oslib.c 2013-10-14 15:12:57.000000000 +0200 ++++ bash-5.1/lib/sh/oslib.c 2020-12-08 14:35:05.062112859 +0100 +@@ -280,7 +280,7 @@ + long + getmaxchild () + { +- static long maxchild = -1L; ++ static long maxchild = _SC_CHILD_MAX; + + if (maxchild > 0) + return maxchild; |