source: patches/ncurses-6.0-bash_fix-1.patch@ c96cc3f

systemd
Last change on this file since c96cc3f was 6f21829, checked in by William Harrington <kb0iic@…>, 9 years ago

Upgrade Ncurses from 5.9 to 6.0

  • Property mode set to 100644
File size: 784 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
    Comment: Renamed for Ncurses 6.0 Upgrade
    
    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.