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

clfs-3.0.0-sysvinit sysvinit
Last change on this file since a88e398f 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
RevLine 
[8efd1d3]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.