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

systemd
Last change on this file since 657587d 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
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
[6f21829]7Comment: Renamed for Ncurses 6.0 Upgrade
[8efd1d3]8
9diff -Naur ncurses-5.6.orig/include/MKhashsize.sh ncurses-5.6/include/MKhashsize.sh
10--- ncurses-5.6.orig/include/MKhashsize.sh 2006-10-21 17:45:39.000000000 -0700
11+++ ncurses-5.6/include/MKhashsize.sh 2007-02-15 07:16:46.000000000 -0800
12@@ -35,7 +35,7 @@
13 echo " */"
14
15 CAPS="${1-Caps}"
16-TABSIZE=`grep -v '^[ #]' $CAPS | grep -v "^$" | grep -v "^capalias"| grep -v "^infoalias" | wc -l`
17+TABSIZE=$(grep -v '^[ #]' $CAPS | grep -v "^$" | grep -v "^capalias"| grep -v "^infoalias" | wc -l)
18
19 echo ""
20 echo "#define CAPTABSIZE ${TABSIZE}"
21
22
Note: See TracBrowser for help on using the repository browser.