about summary refs log tree commit diff
path: root/pkgs/shells/bash/pgrp-pipe-5.patch
blob: 71b397901cb085971e4eba8f4d2e109543d951a4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- ./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" ;;