Patch rlwrap to support high-bit characters
svn path=/nixpkgs/trunk/; revision=25167
This commit is contained in:
parent
229b94b30c
commit
55afe4bc5e
1 changed files with 5 additions and 0 deletions
|
@ -10,6 +10,11 @@ stdenv.mkDerivation rec {
|
|||
|
||||
buildInputs = [ readline ];
|
||||
|
||||
# Be high-bit-friendly
|
||||
preBuild = ''
|
||||
sed -i src/readline.c -e "s@[*]p [<] ' '@(*p >= 0) \\&\\& (*p < ' ')@"
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Readline wrapper for console programs";
|
||||
homepage = http://utopia.knoware.nl/~hlub/uck/rlwrap/;
|
||||
|
|
Loading…
Reference in a new issue