diff options
| author | Marius Bakke <mbakke@fastmail.com> | 2019-10-08 19:24:34 +0200 | 
|---|---|---|
| committer | Marius Bakke <mbakke@fastmail.com> | 2019-10-08 19:24:34 +0200 | 
| commit | d1f3b333e6176a7879ab3742bbebb2a99f61a528 (patch) | |
| tree | 8bd82ce68bd2534a48bf13c7256997f82dd1b3f4 /gnu/packages/patches/bash-reproducible-linux-pgrp-pipe.patch | |
| parent | e01d384efcdaf564bbb221e43b81e087c8e2af06 (diff) | |
| parent | 861907f01efb1cae7f260e8cb7b991d5034a486a (diff) | |
Merge branch 'master' into staging
Diffstat (limited to 'gnu/packages/patches/bash-reproducible-linux-pgrp-pipe.patch')
| -rw-r--r-- | gnu/packages/patches/bash-reproducible-linux-pgrp-pipe.patch | 34 | 
1 files changed, 34 insertions, 0 deletions
| diff --git a/gnu/packages/patches/bash-reproducible-linux-pgrp-pipe.patch b/gnu/packages/patches/bash-reproducible-linux-pgrp-pipe.patch new file mode 100644 index 0000000000..8a03c4d982 --- /dev/null +++ b/gnu/packages/patches/bash-reproducible-linux-pgrp-pipe.patch @@ -0,0 +1,34 @@ +Unconditionally enable PGRP_PIPE on Linux (the kernel), regardless of +the kernel version in use on the build machine. + +diff -purN bash-5.0-orig/configure bash-5.0/configure +--- configure	1970-01-01 01:00:00.000000000 +0100 ++++ configure	2019-09-29 11:51:42.664518665 +0200 +@@ -16312,11 +16312,7 @@ solaris2.10*)	LOCAL_CFLAGS=-DSOLARIS  ;; + 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 +- ;; +-		esac ;; ++		$as_echo "#define PGRP_PIPE 1" >>confdefs.h ;; + netbsd*|openbsd*)	LOCAL_CFLAGS="-DDEV_FD_STAT_BROKEN" ;; + *qnx[67]*)	LOCAL_LIBS="-lncurses" ;; + *qnx*)		LOCAL_CFLAGS="-Dqnx -F -3s" LOCAL_LDFLAGS="-3s" LOCAL_LIBS="-lunix -lncurses" ;; +diff -purN bash-5.0-orig/configure.ac bash-5.0/configure.ac +--- configure.ac	1970-01-01 01:00:00.000000000 +0100 ++++ configure.ac	2019-09-29 11:51:10.692026225 +0200 +@@ -1108,10 +1108,7 @@ solaris2.10*)	LOCAL_CFLAGS=-DSOLARIS  ;; + solaris2*)	LOCAL_CFLAGS=-DSOLARIS ;; + lynxos*)	LOCAL_CFLAGS=-DRECYCLES_PIDS ;; + linux*)		LOCAL_LDFLAGS=-rdynamic		 # allow dynamic loading +-		case "`uname -r`" in +-		1.*|2.[[0123]]*)	: ;; +-		*)	AC_DEFINE(PGRP_PIPE) ;; +-		esac ;; ++		AC_DEFINE(PGRP_PIPE) ;; + netbsd*|openbsd*)	LOCAL_CFLAGS="-DDEV_FD_STAT_BROKEN" ;; + *qnx[[67]]*)	LOCAL_LIBS="-lncurses" ;; + *qnx*)		LOCAL_CFLAGS="-Dqnx -F -3s" LOCAL_LDFLAGS="-3s" LOCAL_LIBS="-lunix -lncurses" ;; | 
