summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-shells/bash/files/bash-3.0-afs.patch7
-rw-r--r--app-shells/bash/files/bash-3.0-array-stripping.patch4
-rw-r--r--app-shells/bash/files/bash-3.0-darwin-conn.patch9
-rw-r--r--app-shells/bash/files/bash-3.0-etc-inputrc.patch5
-rw-r--r--app-shells/bash/files/bash-3.0-invisible.patch10
-rw-r--r--app-shells/bash/files/bash-3.0-jobs.patch14
-rw-r--r--app-shells/bash/files/bash-3.0-local-array.patch4
-rw-r--r--app-shells/bash/files/bash-3.0-manpage.patch8
-rw-r--r--app-shells/bash/files/bash-3.0-posixtrap.patch9
-rw-r--r--app-shells/bash/files/bash-3.0-pwd.patch5
10 files changed, 63 insertions, 12 deletions
diff --git a/app-shells/bash/files/bash-3.0-afs.patch b/app-shells/bash/files/bash-3.0-afs.patch
index c7429cfe2f63..f07371c39eb4 100644
--- a/app-shells/bash/files/bash-3.0-afs.patch
+++ b/app-shells/bash/files/bash-3.0-afs.patch
@@ -1,3 +1,10 @@
+Ripped from Fedora
+
+- Fixed AFS support for output redirection, so that the correct errors
+ are reported for other filesystems (bug #155373).
+
+https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=155373
+
--- bash-3.0/redir.c.afs 2005-04-20 09:16:15.000000000 +0100
+++ bash-3.0/redir.c 2005-04-20 09:16:58.000000000 +0100
@@ -596,7 +596,9 @@
diff --git a/app-shells/bash/files/bash-3.0-array-stripping.patch b/app-shells/bash/files/bash-3.0-array-stripping.patch
index a53aa98a7898..8b2384c3657b 100644
--- a/app-shells/bash/files/bash-3.0-array-stripping.patch
+++ b/app-shells/bash/files/bash-3.0-array-stripping.patch
@@ -1,3 +1,7 @@
+Fix from Chet Ramey (bash maintainer) for array stripping
+
+http://bugs.gentoo.org/60127
+
*** ../bash-3.0/subst.c Sun Jul 4 13:56:13 2004
--- subst.c Thu Aug 12 13:36:17 2004
***************
diff --git a/app-shells/bash/files/bash-3.0-darwin-conn.patch b/app-shells/bash/files/bash-3.0-darwin-conn.patch
index ef21eebf2094..b6cab67f4288 100644
--- a/app-shells/bash/files/bash-3.0-darwin-conn.patch
+++ b/app-shells/bash/files/bash-3.0-darwin-conn.patch
@@ -1,9 +1,10 @@
Sune Foldager writes:
-On Darwin (Mac OS X), bash incorrectly assumed that it has been called over a network connection
-(such as ssh, rsh etc.), when stdin stems from the pipe() system call. This is because bash's heuristic
-code for determining if it's been started over a net connection is incorrect on Darwin kernels.
+On Darwin (Mac OS X), bash incorrectly assumed that it has been called over a
+network connection (such as ssh, rsh etc.), when stdin stems from the pipe()
+system call. This is because bash's heuristic code for determining if it's
+been started over a net connection is incorrect on Darwin kernels.
-http://bugs.gentoo.org/show_bug.cgi?id=79124
+http://bugs.gentoo.org/79124
--- /lib/sh/netconn.c
+++ /lib/sh/netconn.c
diff --git a/app-shells/bash/files/bash-3.0-etc-inputrc.patch b/app-shells/bash/files/bash-3.0-etc-inputrc.patch
index 4331bd1da609..204e7978d3c1 100644
--- a/app-shells/bash/files/bash-3.0-etc-inputrc.patch
+++ b/app-shells/bash/files/bash-3.0-etc-inputrc.patch
@@ -1,3 +1,8 @@
+Patch readline's bind.c so that /etc/inputrc is read as a last resort
+following ~/.inputrc. This is better than putting INPUTRC in
+the environment because INPUTRC will override even after the
+user creates a ~/.inputrc
+
--- bash-3.0/lib/readline/bind.c.agriffis 2004-03-03 22:39:32.000000000 -0500
+++ bash-3.0/lib/readline/bind.c 2004-08-02 13:53:02.365731918 -0400
@@ -781,6 +781,7 @@
diff --git a/app-shells/bash/files/bash-3.0-invisible.patch b/app-shells/bash/files/bash-3.0-invisible.patch
index 3c8a7a5a56e3..bfc5f9b23518 100644
--- a/app-shells/bash/files/bash-3.0-invisible.patch
+++ b/app-shells/bash/files/bash-3.0-invisible.patch
@@ -1,5 +1,11 @@
---- bash-3.0/lib/readline/display.c 2004-05-27 22:57:51.000000000 -0400
-+++ bash-3.0.agriffis/lib/readline/display.c 2004-08-02 17:43:02.000000000 -0400
+Fix the bug reported by Alexander Skwar:
+bash applies all invisible characters to the first line instead of the ones
+that actually (dis)appear in that line. I've also pushed this upstream.
+
+http://bugs.gentoo.org/36393
+
+--- bash-3.0/lib/readline/display.c
++++ bash-3.0/lib/readline/display.c
@@ -258,23 +258,21 @@
#endif
{
diff --git a/app-shells/bash/files/bash-3.0-jobs.patch b/app-shells/bash/files/bash-3.0-jobs.patch
index b5d1ed4c7768..53c85443806b 100644
--- a/app-shells/bash/files/bash-3.0-jobs.patch
+++ b/app-shells/bash/files/bash-3.0-jobs.patch
@@ -1,5 +1,11 @@
---- bash-3.0/tests/jobs4.sub.jobs 2004-05-06 14:02:41.000000000 +0100
-+++ bash-3.0/tests/jobs4.sub 2004-09-08 16:07:25.305385245 +0100
+Ripped from Fedora
+
+* Wed Sep 8 2004 Tim Waugh <twaugh@redhat.com> 3.0-13
+- Check for EINVAL from waitpid() and avoid WCONTINUED in that case.
+- Fixed jobs4 test.
+
+--- bash-3.0/tests/jobs4.sub
++++ bash-3.0/tests/jobs4.sub
@@ -18,5 +18,5 @@
wait
@@ -7,8 +13,8 @@
-cat &
+sleep 100 &
kill -1 %% && echo i killed it || echo could not kill it
---- bash-3.0/jobs.c.jobs 2004-09-08 16:07:25.081427747 +0100
-+++ bash-3.0/jobs.c 2004-09-08 16:18:06.698604033 +0100
+--- bash-3.0/jobs.c
++++ bash-3.0/jobs.c
@@ -2475,6 +2475,7 @@
PROCESS *child;
pid_t pid;
diff --git a/app-shells/bash/files/bash-3.0-local-array.patch b/app-shells/bash/files/bash-3.0-local-array.patch
index 2aea13c9f24f..82be7762ae1b 100644
--- a/app-shells/bash/files/bash-3.0-local-array.patch
+++ b/app-shells/bash/files/bash-3.0-local-array.patch
@@ -1,3 +1,7 @@
+Fix from Chet Ramey (bash maintainer) to prevent segfault
+
+http://bugs.gentoo.org/58961
+
*** ../bash-3.0/arrayfunc.c Fri Dec 19 00:03:09 2003
--- arrayfunc.c Sun Aug 1 20:43:00 2004
***************
diff --git a/app-shells/bash/files/bash-3.0-manpage.patch b/app-shells/bash/files/bash-3.0-manpage.patch
index 070160323c7b..08e3143e5422 100644
--- a/app-shells/bash/files/bash-3.0-manpage.patch
+++ b/app-shells/bash/files/bash-3.0-manpage.patch
@@ -1,5 +1,9 @@
---- bash-3.0/doc/bash.1.manpage 2004-11-30 09:33:54.727381784 +0000
-+++ bash-3.0/doc/bash.1 2004-11-30 09:34:06.799075585 +0000
+Ripped from Fedora
+
+fix obvious display bug
+
+--- bash-3.0/doc/bash.1
++++ bash-3.0/doc/bash.1
@@ -3929,7 +3929,7 @@
.B SIGHUP
to all jobs when an interactive login shell exits.
diff --git a/app-shells/bash/files/bash-3.0-posixtrap.patch b/app-shells/bash/files/bash-3.0-posixtrap.patch
index 0e05c49a5fb8..eaa4879dc43c 100644
--- a/app-shells/bash/files/bash-3.0-posixtrap.patch
+++ b/app-shells/bash/files/bash-3.0-posixtrap.patch
@@ -1,3 +1,12 @@
+Revert trap behavior for the sake of autoconf-generated configure scripts.
+The problem here is that bash -c 'trap 0' works, but sh -c 'trap 0' doesn't
+work because the bash developers are trying to adhere to POSIX in that case.
+Since all the configure scripts are #!/bin/sh, this breaks them... That's bad
+news and will need some time to fix, so it's easier to fix here for the
+moment.
+
+http://bugs.gentoo.org/58703
+
--- bash-3.0/builtins/trap.def.noposix 2004-07-28 22:38:38.000000000 -0400
+++ bash-3.0/builtins/trap.def 2004-07-28 22:39:01.948314454 -0400
@@ -122,12 +122,18 @@
diff --git a/app-shells/bash/files/bash-3.0-pwd.patch b/app-shells/bash/files/bash-3.0-pwd.patch
index 09c62e64d333..77f0918fb4d8 100644
--- a/app-shells/bash/files/bash-3.0-pwd.patch
+++ b/app-shells/bash/files/bash-3.0-pwd.patch
@@ -1,3 +1,8 @@
+Ripped from Fedora
+
+* Tue Mar 15 2005 Tim Waugh <twaugh@redhat.com> 3.0-30
+- Fix PS1 expansion crash when PWD is unset (bg #151116).
+
--- bash-3.0/parse.y.pwd 2005-03-15 14:22:36.000000000 +0000
+++ bash-3.0/parse.y 2005-03-15 14:22:37.000000000 +0000
@@ -4103,7 +4103,7 @@