tig: Update to 2.4.1

This commit is contained in:
Alexey Pavlov
2018-07-30 11:15:54 +03:00
parent bbb0ce20e0
commit 7520f936b0
2 changed files with 22 additions and 4 deletions

11
tig/001-fix-type.patch Normal file
View File

@@ -0,0 +1,11 @@
--- tig-2.4.1/src/graph-v2.c.orig 2018-07-30 11:10:49.619208600 +0300
+++ tig-2.4.1/src/graph-v2.c 2018-07-30 11:11:06.701238600 +0300
@@ -214,7 +214,7 @@
colors_init(struct colors *colors)
{
if (colors->id_map == NULL) {
- uint size = 500;
+ unsigned int size = 500;
colors->id_map = htab_create_alloc(size, id_color_hash, id_color_eq, key_del, calloc, free);
}

View File

@@ -1,16 +1,23 @@
# Maintainer: Alexey Pavlov <Alexpux@gmail.com>
pkgname=tig
pkgver=2.3.2
pkgver=2.4.1
pkgrel=1
pkgdesc='Text-mode interface for Git'
depends=('git' 'libreadline' 'ncurses')
makedepends=('asciidoc' 'xmlto' 'libreadline-devel' 'ncurses-devel' 'libiconv-devel')
url='http://jonas.nitro.dk/tig/'
url='https://jonas.github.io/tig/'
license=('GPL')
arch=('i686' 'x86_64')
source=("https://github.com/jonas/${pkgname}/releases/download/${pkgname}-${pkgver}/${pkgname}-${pkgver}.tar.gz")
sha256sums=('6410e51c6149d76eac3510d04f9a736139f85e7c881646937d009caacf98cff1')
source=("https://github.com/jonas/${pkgname}/releases/download/${pkgname}-${pkgver}/${pkgname}-${pkgver}.tar.gz"
001-fix-type.patch)
sha256sums=('b6b6aa183e571224d0e1fab3ec482542c1a97fa7a85b26352dc31dbafe8558b8'
'2483512d95ef91077e5f3fb66f5f6df64603f48b85d77e0d4c60c272643e61a1')
prepare() {
cd "${srcdir}/${pkgname}-${pkgver}"
patch -p1 -i ${srcdir}/001-fix-type.patch
}
build() {
cd "${srcdir}/${pkgname}-${pkgver}"