From c67e9cedc42ac52ee3c83e81752176e4e46e7bb2 Mon Sep 17 00:00:00 2001 From: Jan Willies Date: Mon, 4 Jul 2011 09:23:29 +0000 Subject: [PATCH] [packages] bash: update to 4.2 SVN-Revision: 27442 --- utils/bash/Makefile | 6 +++--- utils/bash/patches/001-compile-fix.patch | 17 +++++++++++++++++ utils/bash/patches/001-fix_avr32_compile | 20 -------------------- 3 files changed, 20 insertions(+), 23 deletions(-) create mode 100644 utils/bash/patches/001-compile-fix.patch delete mode 100644 utils/bash/patches/001-fix_avr32_compile diff --git a/utils/bash/Makefile b/utils/bash/Makefile index 28bc3327cb..0c6f0d9e41 100644 --- a/utils/bash/Makefile +++ b/utils/bash/Makefile @@ -8,12 +8,12 @@ include $(TOPDIR)/rules.mk PKG_NAME:=bash -PKG_VERSION:=3.2 -PKG_RELEASE:=2 +PKG_VERSION:=4.2 +PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=@GNU/bash -PKG_MD5SUM:=00bfa16d58e034e3c2aa27f390390d30 +PKG_MD5SUM:=3fb927c7c33022f1c327f14a81c0d4b0 include $(INCLUDE_DIR)/package.mk diff --git a/utils/bash/patches/001-compile-fix.patch b/utils/bash/patches/001-compile-fix.patch new file mode 100644 index 0000000000..a0d0382504 --- /dev/null +++ b/utils/bash/patches/001-compile-fix.patch @@ -0,0 +1,17 @@ +Index: bash-4.2/execute_cmd.c +=================================================================== +--- bash-4.2.orig/execute_cmd.c 2011-07-04 11:16:23.000000000 +0200 ++++ bash-4.2/execute_cmd.c 2011-07-04 11:17:33.000000000 +0200 +@@ -2202,7 +2202,11 @@ + /* If the `lastpipe' option is set with shopt, and job control is not + enabled, execute the last element of non-async pipelines in the + current shell environment. */ +- if (lastpipe_opt && job_control == 0 && asynchronous == 0 && pipe_out == NO_PIPE && prev > 0) ++ if (lastpipe_opt && ++#if defined(JOB_CONTROL) ++ job_control == 0 && ++#endif ++ asynchronous == 0 && pipe_out == NO_PIPE && prev > 0) + { + lstdin = move_to_high_fd (0, 0, 255); + if (lstdin > 0) diff --git a/utils/bash/patches/001-fix_avr32_compile b/utils/bash/patches/001-fix_avr32_compile deleted file mode 100644 index 4714e0e167..0000000000 --- a/utils/bash/patches/001-fix_avr32_compile +++ /dev/null @@ -1,20 +0,0 @@ ---- bash-3.2/support/config.sub.orig 2008-05-15 22:22:52.000000000 -0500 -+++ bash-3.2/support/config.sub 2008-05-15 22:23:23.000000000 -0500 -@@ -228,7 +228,7 @@ - | a29k \ - | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ - | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ -- | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \ -+ | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \ - | clipper \ - | d10v | d30v | dlx | dsp16xx \ - | fr30 | frv \ -@@ -293,7 +293,7 @@ - | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \ - | amd64-* \ - | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ -- | avr-* \ -+ | avr-* | avr32-* \ - | bs2000-* \ - | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* \ - | clipper-* | cydra-* \ -- 2.30.2