FreeBSD Bugzilla – Attachment 173860 Details for
Bug 211850
devel/tig: Update to 2.2
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed patch (since 412346 revision) with reordering of termcap's library checks
tig_v4.diff (text/plain), 3.29 KB, created by
lightside
on 2016-08-19 12:58:48 UTC
(
hide
)
Description:
Proposed patch (since 412346 revision) with reordering of termcap's library checks
Filename:
MIME Type:
Creator:
lightside
Created:
2016-08-19 12:58:48 UTC
Size:
3.29 KB
patch
obsolete
>--- tig.orig/Makefile 2016-04-01 14:00:51 UTC >+++ tig/Makefile >@@ -2,7 +2,7 @@ > # $FreeBSD: head/devel/tig/Makefile 412346 2016-04-01 14:00:51Z mat $ > > PORTNAME= tig >-PORTVERSION= 2.1.1 >+PORTVERSION= 2.2 > CATEGORIES= devel > MASTER_SITES= http://jonas.nitro.dk/tig/releases/ > >@@ -14,9 +14,11 @@ > > 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 >--- tig.orig/distinfo 2015-05-04 11:17:03 UTC >+++ tig/distinfo >@@ -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 >--- tig.orig/files/patch-config.make.in 2015-05-04 11:17:03 UTC >+++ tig/files/patch-config.make.in >@@ -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@ >--- tig.orig/files/patch-src_ui.c 2015-05-04 11:17:03 UTC >+++ tig/files/patch-src_ui.c >@@ -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); >--- tig.orig/files/patch-tools_ax__lib__readline.m4 1970-01-01 00:00:00 UTC >+++ tig/files/patch-tools_ax__lib__readline.m4 >@@ -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
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 211850
:
173684
|
173823
|
173839
|
173840
|
173841
|
173856
|
173857
|
173858
|
173860
|
173868