gnu: emacs-consult: Fix grammar.
[jackhill/guix/guix.git] / gnu / packages / patches / bash-reproducible-linux-pgrp-pipe.patch
CommitLineData
737c83f0
JN
1Unconditionally enable PGRP_PIPE on Linux (the kernel), regardless of
2the kernel version in use on the build machine.
3
4diff -purN bash-5.0-orig/configure bash-5.0/configure
5--- configure 1970-01-01 01:00:00.000000000 +0100
6+++ configure 2019-09-29 11:51:42.664518665 +0200
7@@ -16312,11 +16312,7 @@ solaris2.10*) LOCAL_CFLAGS=-DSOLARIS ;;
8 solaris2*) LOCAL_CFLAGS=-DSOLARIS ;;
9 lynxos*) LOCAL_CFLAGS=-DRECYCLES_PIDS ;;
10 linux*) LOCAL_LDFLAGS=-rdynamic # allow dynamic loading
11- case "`uname -r`" in
12- 1.*|2.[0123]*) : ;;
13- *) $as_echo "#define PGRP_PIPE 1" >>confdefs.h
14- ;;
15- esac ;;
16+ $as_echo "#define PGRP_PIPE 1" >>confdefs.h ;;
17 netbsd*|openbsd*) LOCAL_CFLAGS="-DDEV_FD_STAT_BROKEN" ;;
18 *qnx[67]*) LOCAL_LIBS="-lncurses" ;;
19 *qnx*) LOCAL_CFLAGS="-Dqnx -F -3s" LOCAL_LDFLAGS="-3s" LOCAL_LIBS="-lunix -lncurses" ;;
20diff -purN bash-5.0-orig/configure.ac bash-5.0/configure.ac
21--- configure.ac 1970-01-01 01:00:00.000000000 +0100
22+++ configure.ac 2019-09-29 11:51:10.692026225 +0200
23@@ -1108,10 +1108,7 @@ solaris2.10*) LOCAL_CFLAGS=-DSOLARIS ;;
24 solaris2*) LOCAL_CFLAGS=-DSOLARIS ;;
25 lynxos*) LOCAL_CFLAGS=-DRECYCLES_PIDS ;;
26 linux*) LOCAL_LDFLAGS=-rdynamic # allow dynamic loading
27- case "`uname -r`" in
28- 1.*|2.[[0123]]*) : ;;
29- *) AC_DEFINE(PGRP_PIPE) ;;
30- esac ;;
31+ AC_DEFINE(PGRP_PIPE) ;;
32 netbsd*|openbsd*) LOCAL_CFLAGS="-DDEV_FD_STAT_BROKEN" ;;
33 *qnx[[67]]*) LOCAL_LIBS="-lncurses" ;;
34 *qnx*) LOCAL_CFLAGS="-Dqnx -F -3s" LOCAL_LDFLAGS="-3s" LOCAL_LIBS="-lunix -lncurses" ;;