diff options
author | Sören Tempel <soeren+git@soeren-tempel.net> | 2016-07-25 10:09:34 +0200 |
---|---|---|
committer | Sören Tempel <soeren+git@soeren-tempel.net> | 2016-07-26 16:11:11 +0200 |
commit | 4c333ba9a8fa63b143204c1b22cc25347dd788a3 (patch) | |
tree | e2264bbfffff7dfe8a4a9023307698b429cc70b0 /testing/bvi | |
parent | 5b6c533551ca62bee2fa3cf1687dc28bfd93058c (diff) | |
download | aports-4c333ba9a8fa63b143204c1b22cc25347dd788a3.tar.bz2 aports-4c333ba9a8fa63b143204c1b22cc25347dd788a3.tar.xz |
testing/bvi: fix typos and claim maintainership
Also fix a compiler warning regarding implicit declarations.
Diffstat (limited to 'testing/bvi')
-rw-r--r-- | testing/bvi/APKBUILD | 18 | ||||
-rw-r--r-- | testing/bvi/fix-implicit.patch | 12 |
2 files changed, 23 insertions, 7 deletions
diff --git a/testing/bvi/APKBUILD b/testing/bvi/APKBUILD index 67c186e4c1..7d73fadd90 100644 --- a/testing/bvi/APKBUILD +++ b/testing/bvi/APKBUILD @@ -1,9 +1,9 @@ # Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net> -# Maintainer: +# Maintainer: Sören Tempel <soeren+alpine@soeren-tempel.net> pkgname=bvi pkgver=1.4.0 -pkgrel=0 -pkgdesc="Display-oriented editor for binary fies based on vi" +pkgrel=1 +pkgdesc="Display-oriented editor for binary files based on vi" url="http://bvi.sourceforge.net" arch="all" license="GPL2" @@ -11,7 +11,8 @@ depends="" makedepends="ncurses-dev" install="" subpackages="$pkgname-doc" -source="http://downloads.sourceforge.net/sourceforge/bvi/$pkgname-$pkgver.src.tar.gz" +source="http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.src.tar.gz + fix-implicit.patch" builddir="$srcdir/$pkgname-$pkgver" build() { @@ -37,6 +38,9 @@ package() { "$pkgdir"/usr/share/doc/$pkgname/ || return 1 } -md5sums="aa83eb8b2b6b0bb6cdd8e6beef12b775 bvi-1.4.0.src.tar.gz" -sha256sums="015a3c2832c7c097d98a5527deef882119546287ba8f2a70c736227d764ef802 bvi-1.4.0.src.tar.gz" -sha512sums="119cfc7350f81c324e77243f948cfb91cd9a3122fef307616e4756a99732f69131aed2a26ebe48048698b9c211a0214255f3e6605ad2cbf479a14a4a0f88923c bvi-1.4.0.src.tar.gz" +md5sums="aa83eb8b2b6b0bb6cdd8e6beef12b775 bvi-1.4.0.src.tar.gz +dc0499a696dd0419e2df0c743dad4cfe fix-implicit.patch" +sha256sums="015a3c2832c7c097d98a5527deef882119546287ba8f2a70c736227d764ef802 bvi-1.4.0.src.tar.gz +8a9ff0895291e9ccfb0cc85867964c9f7bbbe5fdfb8a3e58ab809ac6408e42ff fix-implicit.patch" +sha512sums="119cfc7350f81c324e77243f948cfb91cd9a3122fef307616e4756a99732f69131aed2a26ebe48048698b9c211a0214255f3e6605ad2cbf479a14a4a0f88923c bvi-1.4.0.src.tar.gz +b2cb59d82939202df5b12f640182d619cbec25b22aaba0dd9853ee75c7bc285c8f2366d311ebf795e8f78b6daf828545494993f84925fdf4f6d2c12796d9bb32 fix-implicit.patch" diff --git a/testing/bvi/fix-implicit.patch b/testing/bvi/fix-implicit.patch new file mode 100644 index 0000000000..e50cb604fb --- /dev/null +++ b/testing/bvi/fix-implicit.patch @@ -0,0 +1,12 @@ +diff -upr bvi-1.4.0.orig/comm.c bvi-1.4.0/comm.c +--- bvi-1.4.0.orig/comm.c 2016-07-25 10:04:18.054650413 +0200 ++++ bvi-1.4.0/comm.c 2016-07-25 10:04:29.471264368 +0200 +@@ -87,7 +87,7 @@ extern int numfiles, curfile; + extern int errno; + + static char oldbuf[CMDSZ]; /** for :!! command **/ +- ++int save_chk(char *fname, char *start, char *end, int flags); + + /* + * docmdline() - handle a colon command |