diff options
author | Michael Raskin <7c6f434c@mail.ru> | 2010-12-17 10:56:35 +0000 |
---|---|---|
committer | Michael Raskin <7c6f434c@mail.ru> | 2010-12-17 10:56:35 +0000 |
commit | 55afe4bc5ed4e83a612b53730d38113a0552946b (patch) | |
tree | 635c92c29ab9860e29a46ea4378377831cb20ee7 /pkgs/tools/misc/rlwrap | |
parent | 229b94b30cbf28d54bd1f218fb92db598847f735 (diff) | |
download | nixpkgs-55afe4bc5ed4e83a612b53730d38113a0552946b.tar nixpkgs-55afe4bc5ed4e83a612b53730d38113a0552946b.tar.gz nixpkgs-55afe4bc5ed4e83a612b53730d38113a0552946b.tar.bz2 nixpkgs-55afe4bc5ed4e83a612b53730d38113a0552946b.tar.lz nixpkgs-55afe4bc5ed4e83a612b53730d38113a0552946b.tar.xz nixpkgs-55afe4bc5ed4e83a612b53730d38113a0552946b.tar.zst nixpkgs-55afe4bc5ed4e83a612b53730d38113a0552946b.zip |
Patch rlwrap to support high-bit characters
svn path=/nixpkgs/trunk/; revision=25167
Diffstat (limited to 'pkgs/tools/misc/rlwrap')
-rw-r--r-- | pkgs/tools/misc/rlwrap/default.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/tools/misc/rlwrap/default.nix b/pkgs/tools/misc/rlwrap/default.nix index 7402209960d..5c53d885e6f 100644 --- a/pkgs/tools/misc/rlwrap/default.nix +++ b/pkgs/tools/misc/rlwrap/default.nix @@ -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/; |