source: patches/ncurses-5.9-bash_fix-1.patch@ 156c0fe

clfs-3.0.0-sysvinit sysvinit
Last change on this file since 156c0fe was 351ffeb5, checked in by Joe Ciccone <jciccone@…>, 14 years ago

Updated NCurses to 5.9.

  • 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.