source: clfs-sysroot/patches/ncurses-5.6-bash_fix-1.patch@ 480bed9

Last change on this file since 480bed9 was 090d748, checked in by Joe Ciccone <jciccone@…>, 18 years ago

Add the ncurses bash_fix patch.

  • Property mode set to 100644
File size: 743 bytes
  • include/MKhashsize.sh

    Submitted by: Jim Gifford (patches at jg555 dot com)
    Date: 2007-02-15
    Initial Package Version: 5.6
    Upstream Status: Sent
    Origin: Jim Gifford
    Description: Fixes Ncurses to utilize a buggy version of Bash
    
    diff -Naur ncurses-5.6.orig/include/MKhashsize.sh ncurses-5.6/include/MKhashsize.sh
    old new  
    3535echo " */"
    3636
    3737CAPS="${1-Caps}"
    38 TABSIZE=`grep -v '^[ #]' $CAPS | grep -v "^$" | grep -v "^capalias"| grep -v "^infoalias" | wc -l`
     38TABSIZE=$(grep -v '^[ #]' $CAPS | grep -v "^$" | grep -v "^capalias"| grep -v "^infoalias" | wc -l)
    3939
    4040echo ""
    4141echo "#define CAPTABSIZE        ${TABSIZE}"
Note: See TracBrowser for help on using the repository browser.