summaryrefslogtreecommitdiff
path: root/gnu/packages/patches/bash-linux-pgrp-pipe.patch
diff options
context:
space:
mode:
authorZheng Junjie <z572@z572.online>2025-02-07 16:52:40 +0800
committerAndreas Enge <andreas@enge.fr>2025-07-18 20:17:28 +0200
commit700529a4e148a9db8f799e7818540d7732e66542 (patch)
treea22850d4122b624616131933148f3ae5ef9ec9da /gnu/packages/patches/bash-linux-pgrp-pipe.patch
parente8dab4873c7d4f115f89ce99d93f36aad9ecc751 (diff)
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
Diffstat (limited to 'gnu/packages/patches/bash-linux-pgrp-pipe.patch')
-rw-r--r--gnu/packages/patches/bash-linux-pgrp-pipe.patch9
1 files changed, 5 insertions, 4 deletions
diff --git a/gnu/packages/patches/bash-linux-pgrp-pipe.patch b/gnu/packages/patches/bash-linux-pgrp-pipe.patch
index 234a55e897..aeaed65be7 100644
--- a/gnu/packages/patches/bash-linux-pgrp-pipe.patch
+++ b/gnu/packages/patches/bash-linux-pgrp-pipe.patch
@@ -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" ;;