nixpkgs/pkgs/shells/bash/pgrp-pipe-5.patch

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

16 lines
610 B
Diff
Raw Normal View History

2022-12-20 16:29:59 +00:00
--- ./configure 2022-12-20 17:13:17.804045620 +0100
+++ ./configure-fixed 2022-12-20 17:16:00.444114824 +0100
@@ -21723,11 +21723,7 @@
solaris2*) LOCAL_CFLAGS=-DSOLARIS ;;
lynxos*) LOCAL_CFLAGS=-DRECYCLES_PIDS ;;
linux*) LOCAL_LDFLAGS=-rdynamic # allow dynamic loading
- case "`uname -r`" in
- 1.*|2.[0123]*) : ;;
- *) printf "%s\n" "#define PGRP_PIPE 1" >>confdefs.h
- ;;
- esac ;;
+ 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" ;;