From 0d61f6e6eb29e6ca33e379fe0689c09213330ac7 Mon Sep 17 00:00:00 2001 From: Markus Ullmann Date: Wed, 15 Nov 2006 11:00:22 +0000 Subject: Adding bash 3.2 compatibility patch from bug #153925 thanks to mehmetkemal@gmx.net Package-Manager: portage-2.1.2_rc1-r5 --- app-misc/mc/files/digest-mc-4.6.1-r3 | 9 +++++++++ app-misc/mc/files/mc-4.6.1-bash-all.patch | 33 +++++++++++++++++++++++++++++++ 2 files changed, 42 insertions(+) create mode 100644 app-misc/mc/files/digest-mc-4.6.1-r3 create mode 100644 app-misc/mc/files/mc-4.6.1-bash-all.patch (limited to 'app-misc/mc/files') diff --git a/app-misc/mc/files/digest-mc-4.6.1-r3 b/app-misc/mc/files/digest-mc-4.6.1-r3 new file mode 100644 index 000000000000..baa6422df472 --- /dev/null +++ b/app-misc/mc/files/digest-mc-4.6.1-r3 @@ -0,0 +1,9 @@ +MD5 6d7be5691380d03be44829e78a04e68a mc-4.6.1-utf8-r1.patch.bz2 30427 +RMD160 43f246e3bce44e526fb8d69c095afce34d73d64d mc-4.6.1-utf8-r1.patch.bz2 30427 +SHA256 19c8728220ec52849daded5d58eddbd712a2ccc84b11aed41c3916248545df44 mc-4.6.1-utf8-r1.patch.bz2 30427 +MD5 18b20db6e40480a53bac2870c56fc3c4 mc-4.6.1.tar.gz 3928370 +RMD160 d565ee95a8916d73fad5e0defeb9f2f57e50962b mc-4.6.1.tar.gz 3928370 +SHA256 086ab03daaac28a28c0ddb9a709040b59e1322f6bfa68e39d004d9c66b119e7e mc-4.6.1.tar.gz 3928370 +MD5 d63ffd21654bfa965b5c19b845cb7b34 u7z-4.29.tar.bz2 2951 +RMD160 1ab0cfea1563e81bdde9c0552d37efe710ea14bf u7z-4.29.tar.bz2 2951 +SHA256 0d046e76fade7c7e31be01626bb3fcb0afcb5f62809733d0c70e0e12c655348d u7z-4.29.tar.bz2 2951 diff --git a/app-misc/mc/files/mc-4.6.1-bash-all.patch b/app-misc/mc/files/mc-4.6.1-bash-all.patch new file mode 100644 index 000000000000..e3e2afc344ca --- /dev/null +++ b/app-misc/mc/files/mc-4.6.1-bash-all.patch @@ -0,0 +1,33 @@ +--- /src/subshell.c.000 2006-05-08 23:11:48.000000000 +0200 ++++ /src/subshell.c 2006-10-28 15:40:46.000000000 +0200 +@@ -745,29 +745,13 @@ subshell_name_quote (const char *s) + memcpy (d, cmd_start, len); + d += len; + +- /* +- * Print every character in octal format with the leading backslash. +- * tcsh and zsh may require 4-digit octals, bash < 2.05b doesn't like them. +- */ +- if (subshell_type == BASH) { + for (; *s; s++) { +- /* Must quote numbers, so that they are not glued to octals */ + if (isalpha ((unsigned char) *s)) { + *d++ = (unsigned char) *s; + } else { +- sprintf (d, "\\%03o", (unsigned char) *s); +- d += 4; +- } +- } +- } else { +- for (; *s; s++) { +- if (isalnum ((unsigned char) *s)) { +- *d++ = (unsigned char) *s; +- } else { + sprintf (d, "\\0%03o", (unsigned char) *s); + d += 5; + } +- } + } + + memcpy (d, common_end, sizeof (common_end)); + -- cgit v1.2.3-65-gdbad