Patch rlwrap to support high-bit characters
svn path=/nixpkgs/trunk/; revision=25167
This commit is contained in:
@@ -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/;
|
||||||
|
|||||||
Reference in New Issue
Block a user