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