Patch rlwrap to support high-bit characters

svn path=/nixpkgs/trunk/; revision=25167
This commit is contained in:
Michael Raskin 2010-12-17 10:56:35 +00:00
parent 229b94b30c
commit 55afe4bc5e

View File

@ -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/;