gnu: bash: Update to 5.2.37.

* gnu/packages/bash.scm (bash): Update to 5.2.37.
(patch-url): Update it.
(%patch-series-5.1): Rename to %patch-series-5.2 and update it.

* gnu/packages/patches/bash-linux-pgrp-pipe.patch: Adjust it.

Change-Id: I26c070ea3256e77d3a7658190339dc080fc0bc63
This commit is contained in:
Zheng Junjie 2025-02-07 16:52:40 +08:00 committed by Andreas Enge
parent e8dab4873c
commit 700529a4e1
No known key found for this signature in database
GPG key ID: F7D5C9BF765C61E3
2 changed files with 61 additions and 57 deletions

View file

@ -3,7 +3,7 @@ the kernel version in use on the build machine.
--- configure.ac.orig 2019-01-02 09:38:44.000000000 -0500
+++ configure.ac 2019-08-15 16:40:24.271758379 -0400
@@ -1108,10 +1108,7 @@
@@ -1171,10 +1171,7 @@
solaris2*) LOCAL_CFLAGS=-DSOLARIS ;;
lynxos*) LOCAL_CFLAGS=-DRECYCLES_PIDS ;;
linux*) LOCAL_LDFLAGS=-rdynamic # allow dynamic loading
@ -17,16 +17,17 @@ the kernel version in use on the build machine.
*qnx*) LOCAL_CFLAGS="-Dqnx -F -3s" LOCAL_LDFLAGS="-3s" LOCAL_LIBS="-lunix -lncurses" ;;
--- configure.orig 2019-01-02 09:43:04.000000000 -0500
+++ configure 2019-08-15 16:41:44.440155912 -0400
@@ -16312,11 +16312,7 @@
@@ -21723,12 +21723,8 @@
solaris2*) LOCAL_CFLAGS=-DSOLARIS ;;
lynxos*) LOCAL_CFLAGS=-DRECYCLES_PIDS ;;
linux*) LOCAL_LDFLAGS=-rdynamic # allow dynamic loading
- case "`uname -r`" in
- 1.*|2.[0123]*) : ;;
- *) $as_echo "#define PGRP_PIPE 1" >>confdefs.h
- *) printf "%s\n" "#define PGRP_PIPE 1" >>confdefs.h
- ;;
- esac ;;
+ $as_echo "#define PGRP_PIPE 1" >>confdefs.h ;;
+ printf "%s\n" "#define PGRP_PIPE 1" >>confdefs.h ;;
netbsd*|openbsd*) LOCAL_CFLAGS="-DDEV_FD_STAT_BROKEN" ;;
freebsd*|midnightbsd*) LOCAL_CFLAGS='-DHEREDOC_PIPESIZE=4096' ;;
*qnx[67]*) LOCAL_LIBS="-lncurses" ;;
*qnx*) LOCAL_CFLAGS="-Dqnx -F -3s" LOCAL_LDFLAGS="-3s" LOCAL_LIBS="-lunix -lncurses" ;;