source: patches/ncurses-5.6-bash_fix-1.patch@ c115ef0

Last change on this file since c115ef0 was 67300de, checked in by Joe Ciccone <jciccone@…>, 16 years ago

Create a clfs-1.1 branch in preperation for a RC.

  • Property mode set to 100644
File size: 743 bytes
RevLine 
[67300de]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.