diff options
author | jbeich <jbeich@FreeBSD.org> | 2015-05-04 19:17:03 +0800 |
---|---|---|
committer | jbeich <jbeich@FreeBSD.org> | 2015-05-04 19:17:03 +0800 |
commit | d4ed770b1a7d84aa9f22f6433ecaaec0dcbfa022 (patch) | |
tree | 192b71b8e4c8e337412f74ed2ca658e8b7f91cf0 /devel | |
parent | e9f3cd4d4f7b628bd251431c6408afb91235e0a8 (diff) | |
download | freebsd-ports-gnome-d4ed770b1a7d84aa9f22f6433ecaaec0dcbfa022.tar.gz freebsd-ports-gnome-d4ed770b1a7d84aa9f22f6433ecaaec0dcbfa022.tar.zst freebsd-ports-gnome-d4ed770b1a7d84aa9f22f6433ecaaec0dcbfa022.zip |
devel/tig: update to 2.1.1
- Add upstream patch to "fix crash due to out-of-bounds array access" [1]
- Pet portlint since r383894 by formatting patches with makepatch target
Changes: http://jonas.nitro.dk/tig/NEWS.html#_tig_2_1_1
PR: 199382
Submitted by: lightside <lightside@gmx.com>
Approved by: maintainer timeout (3 weeks)
Obtained from: https://github.com/jonas/tig/commit/718c6e9 [1]
Diffstat (limited to 'devel')
-rw-r--r-- | devel/tig/Makefile | 2 | ||||
-rw-r--r-- | devel/tig/distinfo | 4 | ||||
-rw-r--r-- | devel/tig/files/patch-config.make.in | 8 | ||||
-rw-r--r-- | devel/tig/files/patch-src_ui.c | 14 |
4 files changed, 21 insertions, 7 deletions
diff --git a/devel/tig/Makefile b/devel/tig/Makefile index 17fab0d735b2..f9598ae8a8a5 100644 --- a/devel/tig/Makefile +++ b/devel/tig/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= tig -PORTVERSION= 2.1 +PORTVERSION= 2.1.1 CATEGORIES= devel MASTER_SITES= http://jonas.nitro.dk/tig/releases/ diff --git a/devel/tig/distinfo b/devel/tig/distinfo index 59c2a8bf7e2a..45ed46d6fe66 100644 --- a/devel/tig/distinfo +++ b/devel/tig/distinfo @@ -1,2 +1,2 @@ -SHA256 (tig-2.1.tar.gz) = 306287f684f57563a53abf1cf46149e0d30c6b500fbc0c39e9bc059506373cb0 -SIZE (tig-2.1.tar.gz) = 635114 +SHA256 (tig-2.1.1.tar.gz) = 50c5179fd564b829b6b2cec087e66f10cf8799601de19350df0772ae77e4852f +SIZE (tig-2.1.1.tar.gz) = 641710 diff --git a/devel/tig/files/patch-config.make.in b/devel/tig/files/patch-config.make.in index 18faddfb28e7..71824ac6d8f8 100644 --- a/devel/tig/files/patch-config.make.in +++ b/devel/tig/files/patch-config.make.in @@ -1,7 +1,7 @@ ---- ./config.make.in.orig 2014-05-10 09:51:50.000000000 +0800 -+++ ./config.make.in 2014-05-10 09:53:07.000000000 +0800 -@@ -12,7 +12,7 @@ - CFLAGS = @CFLAGS@ +--- config.make.in.orig 2015-04-09 00:19:11 UTC ++++ config.make.in +@@ -12,7 +12,7 @@ CC = @CC@ + CFLAGS = @CFLAGS@ @COVERAGE_CFLAGS@ CPPFLAGS = @CPPFLAGS@ -DHAVE_CONFIG_H LDFLAGS = @LDFLAGS@ -LDLIBS = @LIBS@ @CURSES_LIB@ diff --git a/devel/tig/files/patch-src_ui.c b/devel/tig/files/patch-src_ui.c new file mode 100644 index 000000000000..4306caf29cec --- /dev/null +++ b/devel/tig/files/patch-src_ui.c @@ -0,0 +1,14 @@ +# Origin: https://github.com/jonas/tig/commit/718c6e94fcc111e5607d6ca0bf3d15271adc0d97 +# Subject: ui: fix crash due to out-of-bounds array access + +--- src/ui.c.orig 2015-04-09 00:19:11 UTC ++++ src/ui.c +@@ -293,7 +293,7 @@ open_file_finder(const char *commit) + finder.keymap = get_keymap("search", STRING_SIZE("search")), + file_finder_update(&finder); + file_finder_draw(&finder); +- if (read_prompt_incremental("Find file: ", FALSE, file_finder_input_handler, &finder)) ++ if (read_prompt_incremental("Find file: ", FALSE, file_finder_input_handler, &finder) && finder.pos.lineno < finder.lines) + file = get_path(finder.line[finder.pos.lineno]->text); + + file_finder_done(&finder); |