source: patches/ncurses-5.7-bash_fix-1.patch@ 8fed28a

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 8fed28a 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
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.