source: patches/ncurses-5.7-bash_fix-1.patch@ 012dfcb

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 012dfcb was 9bb8064, checked in by Joe Ciccone <jciccone@…>, 16 years ago

Updated NCurses from 5.6 to 5.7. New branch update patch from Jim.

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