diff options
-rw-r--r-- | shells/bash/Makefile | 2 | ||||
-rw-r--r-- | shells/bash/files/patch-braces.c | 15 | ||||
-rw-r--r-- | shells/bash3/Makefile | 2 | ||||
-rw-r--r-- | shells/bash3/files/patch-braces.c | 15 |
4 files changed, 32 insertions, 2 deletions
diff --git a/shells/bash/Makefile b/shells/bash/Makefile index 6934c16e2180..567a2d564228 100644 --- a/shells/bash/Makefile +++ b/shells/bash/Makefile @@ -7,7 +7,7 @@ PORTNAME= bash PORTVERSION= 3.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= shells MASTER_SITES= ${MASTER_SITE_GNU} \ ftp://ftp.cwru.edu/pub/%SUBDIR%/ diff --git a/shells/bash/files/patch-braces.c b/shells/bash/files/patch-braces.c new file mode 100644 index 000000000000..591d58ef3888 --- /dev/null +++ b/shells/bash/files/patch-braces.c @@ -0,0 +1,15 @@ +# +# Fix nested brace vs. variable expansion +# +# http://lists.gnu.org/archive/html/bug-bash/2004-08/msg00056.html +# +--- braces.c.orig Tue Aug 04 14:32:33 2004 ++++ braces.c Tue Aug 04 15:15:36 2004 +@@ -402,6 +402,7 @@ + { + pass_next = 1; + i++; ++ level++; + continue; + } + #endif diff --git a/shells/bash3/Makefile b/shells/bash3/Makefile index 6934c16e2180..567a2d564228 100644 --- a/shells/bash3/Makefile +++ b/shells/bash3/Makefile @@ -7,7 +7,7 @@ PORTNAME= bash PORTVERSION= 3.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= shells MASTER_SITES= ${MASTER_SITE_GNU} \ ftp://ftp.cwru.edu/pub/%SUBDIR%/ diff --git a/shells/bash3/files/patch-braces.c b/shells/bash3/files/patch-braces.c new file mode 100644 index 000000000000..591d58ef3888 --- /dev/null +++ b/shells/bash3/files/patch-braces.c @@ -0,0 +1,15 @@ +# +# Fix nested brace vs. variable expansion +# +# http://lists.gnu.org/archive/html/bug-bash/2004-08/msg00056.html +# +--- braces.c.orig Tue Aug 04 14:32:33 2004 ++++ braces.c Tue Aug 04 15:15:36 2004 +@@ -402,6 +402,7 @@ + { + pass_next = 1; + i++; ++ level++; + continue; + } + #endif |