add new package: redir (#772)
authorElTopo <ElTopo@users.noreply.github.com>
Mon, 20 Feb 2017 21:14:52 +0000 (13:14 -0800)
committerFredrik Fornwall <fredrik@fornwall.net>
Mon, 20 Feb 2017 21:14:52 +0000 (22:14 +0100)
commit35aecce3a3aa8d12dbe7002cff86ba4226dae75a
tree9d64f82924d3e122143fbf21a759b98afa10f8a0
parent4626e856f3d16c8bd63ec1f3c1944b77bec81540
add new package: redir (#772)

* add bvi package

* add new package: cgdb

* add gdb in cgdb's TERMUX_PKG_DEPENDS

* add new package: redir

* bvi package revision 1: fix column number issue with clang (gcc does not seem to have this issue)
bvi (compiled with clang) incorrectly displayed only 12 bytes for each line on a 80-column terminal (instead of 16 bytes normally). command :set cm=## also had similar problems.
I found the issue was caused by the following statements:
       sprintf(addr_form,  "%%0%dllX  ", AnzAdd);
       AnzAdd = sprintf(tmp, addr_form, block_begin);

   ('block_begin''s data type is off_t)
   gcc automatically typecasts 'block_begin' from off_t to loff_t,
   on the otherhand, clang takes address of 'block_begin' and uses
   it as loff_t thus writes some garbage value in 'tmp' string.
packages/bvi/Makefile.in.patch
packages/bvi/build.sh
packages/bvi/column_number_bugfix.patch [new file with mode: 0644]
packages/bvi/fix_errno.patch
packages/redir/Makefile.patch [new file with mode: 0644]
packages/redir/build.sh [new file with mode: 0644]