35aecce3a3
* 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.
12 lines
594 B
Bash
12 lines
594 B
Bash
TERMUX_PKG_HOMEPAGE=http://bvi.sourceforge.net/
|
|
TERMUX_PKG_DESCRIPTION="Binary file editor based on vi"
|
|
TERMUX_PKG_DEPENDS="ncurses"
|
|
TERMUX_PKG_VERSION=1.4.0
|
|
TERMUX_PKG_REVISION=1
|
|
TERMUX_PKG_SRCURL=http://sourceforge.net/projects/bvi/files/bvi/${TERMUX_PKG_VERSION}/bvi-${TERMUX_PKG_VERSION}.src.tar.gz
|
|
TERMUX_PKG_SHA256=015a3c2832c7c097d98a5527deef882119546287ba8f2a70c736227d764ef802
|
|
TERMUX_PKG_FOLDERNAME=bvi-${TERMUX_PKG_VERSION}
|
|
TERMUX_PKG_BUILD_IN_SRC="yes"
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="ac_cv_lib_ncursesw6_addnwstr=yes"
|
|
TERMUX_PKG_RM_AFTER_INSTALL="share/applications share/pixmaps"
|