source: clfs-sysroot/patches/ncurses-5.7-bash_fix-1.patch@ ef88672

Last change on this file since ef88672 was e925ca8, checked in by Joe Ciccone <jciccone@…>, 16 years ago

Updated bash fixes patch.

  • Property mode set to 100644
File size: 743 bytes
RevLine 
[090d748]1Submitted by: Jim Gifford (patches at jg555 dot com)
2Date: 2007-02-15
3Initial Package Version: 5.6
4Upstream Status: Sent
5Origin: Jim Gifford
6Description: Fixes Ncurses to utilize a buggy version of Bash
7
8diff -Naur ncurses-5.6.orig/include/MKhashsize.sh ncurses-5.6/include/MKhashsize.sh
9--- ncurses-5.6.orig/include/MKhashsize.sh 2006-10-21 17:45:39.000000000 -0700
10+++ ncurses-5.6/include/MKhashsize.sh 2007-02-15 07:16:46.000000000 -0800
11@@ -35,7 +35,7 @@
12 echo " */"
13
14 CAPS="${1-Caps}"
15-TABSIZE=`grep -v '^[ #]' $CAPS | grep -v "^$" | grep -v "^capalias"| grep -v "^infoalias" | wc -l`
16+TABSIZE=$(grep -v '^[ #]' $CAPS | grep -v "^$" | grep -v "^capalias"| grep -v "^infoalias" | wc -l)
17
18 echo ""
19 echo "#define CAPTABSIZE ${TABSIZE}"
20
21
Note: See TracBrowser for help on using the repository browser.