Browse Source

bvi: Update from 1.4.0 to 1.4.1

emacs-27
Fredrik Fornwall 5 years ago
parent
commit
ecb9f6452e
  1. 5
      packages/bvi/build.sh
  2. 9
      packages/bvi/column_number_bugfix.patch

5
packages/bvi/build.sh

@ -2,10 +2,9 @@ TERMUX_PKG_HOMEPAGE=http://bvi.sourceforge.net/
TERMUX_PKG_DESCRIPTION="Binary file editor based on vi"
TERMUX_PKG_LICENSE="GPL-2.0"
TERMUX_PKG_DEPENDS="ncurses"
TERMUX_PKG_VERSION=1.4.0
TERMUX_PKG_REVISION=1
TERMUX_PKG_VERSION=1.4.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_SHA256=3035255ca79e0464567d255baa5544f7794e2b7eb791dcc60cc339cf1aa01e28
TERMUX_PKG_BUILD_IN_SRC=true
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="ac_cv_lib_ncursesw6_addnwstr=yes"
TERMUX_PKG_RM_AFTER_INSTALL="share/applications share/pixmaps"

9
packages/bvi/column_number_bugfix.patch

@ -1,14 +1,5 @@
--- bvi-1.4.0/bvi.c 2014-10-07 13:09:45.000000000 -0700
+++ src/bvi.c 2017-02-19 00:35:24.587363303 -0800
@@ -276,7 +276,7 @@
if (AnzAdd > sizeof(block_begin) * 2)
AnzAdd = sizeof(block_begin) * 2;
sprintf(addr_form, "%%0%dllX ", AnzAdd);
- AnzAdd = sprintf(tmp, addr_form, block_begin);
+ AnzAdd = sprintf(tmp, addr_form, (long long unsigned)block_begin);
}
Anzahl = ((COLS - AnzAdd - 1) / 16) * 4;
@@ -729,7 +729,6 @@
char *arg;
{

Loading…
Cancel
Save