Index: head/devel/tig/Makefile =================================================================== --- head/devel/tig/Makefile (revision 423382) +++ head/devel/tig/Makefile (revision 423383) @@ -1,37 +1,38 @@ # Created by: Denise H. G. # $FreeBSD$ PORTNAME= tig -PORTVERSION= 2.1.1 +PORTVERSION= 2.2 CATEGORIES= devel MASTER_SITES= http://jonas.nitro.dk/tig/releases/ MAINTAINER= darcsis@gmail.com COMMENT= Text-mode interface for git LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING RUN_DEPENDS= git:devel/git +USES= autoreconf iconv gmake ncurses readline:port GNU_CONFIGURE= yes CONFIGURE_ARGS= ${ICONV_CONFIGURE_BASE} -USES= iconv gmake ncurses readline:port +MAKE_ARGS= V=1 ALL_TARGET= all strip INSTALL_TARGET= install PLIST_FILES= bin/tig etc/tigrc OPTIONS_DEFINE= MANPAGES OPTIONS_DEFAULT=MANPAGES MANPAGES_BUILD_DEPENDS= asciidoc:textproc/asciidoc \ xmlto:textproc/xmlto MANPAGES_ALL_TARGET= doc-man MANPAGES_INSTALL_TARGET= install-doc-man MANPAGES_PLIST_FILES= man/man1/tig.1.gz \ man/man5/tigrc.5.gz \ man/man7/tigmanual.7.gz .include Index: head/devel/tig/distinfo =================================================================== --- head/devel/tig/distinfo (revision 423382) +++ head/devel/tig/distinfo (revision 423383) @@ -1,2 +1,3 @@ -SHA256 (tig-2.1.1.tar.gz) = 50c5179fd564b829b6b2cec087e66f10cf8799601de19350df0772ae77e4852f -SIZE (tig-2.1.1.tar.gz) = 641710 +TIMESTAMP = 1470883142 +SHA256 (tig-2.2.tar.gz) = 8f5213d3abb45ca9a79810b8d2a2a12d941112bc4682bcfa91f34db74942754c +SIZE (tig-2.2.tar.gz) = 1030062 Index: head/devel/tig/files/patch-src_ui.c =================================================================== --- head/devel/tig/files/patch-src_ui.c (revision 423382) +++ head/devel/tig/files/patch-src_ui.c (nonexistent) @@ -1,14 +0,0 @@ -# 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); Property changes on: head/devel/tig/files/patch-src_ui.c ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/devel/tig/files/patch-config.make.in =================================================================== --- head/devel/tig/files/patch-config.make.in (revision 423382) +++ head/devel/tig/files/patch-config.make.in (nonexistent) @@ -1,11 +0,0 @@ ---- 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@ -+LDLIBS = @CURSES_LIB@ @LIBS@ - - ASCIIDOC = @ASCIIDOC@ - XMLTO = @XMLTO@ Property changes on: head/devel/tig/files/patch-config.make.in ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/devel/tig/files/patch-tools_ax__lib__readline.m4 =================================================================== --- head/devel/tig/files/patch-tools_ax__lib__readline.m4 (nonexistent) +++ head/devel/tig/files/patch-tools_ax__lib__readline.m4 (revision 423383) @@ -0,0 +1,26 @@ +--- tools/ax_lib_readline.m4.orig 2016-08-11 02:38:59 UTC ++++ tools/ax_lib_readline.m4 +@@ -33,17 +33,19 @@ _bash_needmsg= + fi + AC_CACHE_VAL(bash_cv_termcap_lib, + [AC_CHECK_FUNC(tgetent, bash_cv_termcap_lib=libc, +- [AC_CHECK_LIB(termcap, tgetent, bash_cv_termcap_lib=libtermcap, +- [AC_CHECK_LIB(tinfo, tgetent, bash_cv_termcap_lib=libtinfo, +- bash_cv_termcap_lib=gnutermcap + if test "$ax_cv_curses_which" = "ncursesw"; then + [AC_CHECK_LIB(ncursesw, tgetent, bash_cv_termcap_lib=libncursesw)] + elif test "$ax_cv_curses_which" = "ncurses"; then + [AC_CHECK_LIB(ncurses, tgetent, bash_cv_termcap_lib=libncurses)] + elif test "$ax_cv_curses_which" = "plaincurses"; then + [AC_CHECK_LIB(curses, tgetent, bash_cv_termcap_lib=libcurses)] ++else ++ [AC_CHECK_LIB(termcap, tgetent, bash_cv_termcap_lib=libtermcap, ++ [AC_CHECK_LIB(tinfo, tgetent, bash_cv_termcap_lib=libtinfo, ++ bash_cv_termcap_lib=gnutermcap ++ )])] + fi +-)])])]) ++)]) + if test "X$_bash_needmsg" = "Xyes"; then + AC_MSG_CHECKING(which library has the termcap functions) + fi Property changes on: head/devel/tig/files/patch-tools_ax__lib__readline.m4 ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property