diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2021-01-09 17:44:17 +0100 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2021-01-09 17:44:36 +0100 |
commit | 20dbfbf2e15c8186dc10802f4766a528d0a8b145 (patch) | |
tree | 2f1c56b6f034f487ba73de6d29856fb9e4f363aa /app-editors/ng | |
parent | sys-kernel/gentoo-sources: Linux version bumps (diff) | |
download | gentoo-20dbfbf2e15c8186dc10802f4766a528d0a8b145.tar.gz gentoo-20dbfbf2e15c8186dc10802f4766a528d0a8b145.tar.bz2 gentoo-20dbfbf2e15c8186dc10802f4766a528d0a8b145.zip |
app-editors/ng: Fixed build with sys-libs/ncurses[tinfo]
Closes: https://bugs.gentoo.org/691014
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'app-editors/ng')
-rw-r--r-- | app-editors/ng/files/ng-1.5beta1-ncurses.patch | 28 |
1 files changed, 16 insertions, 12 deletions
diff --git a/app-editors/ng/files/ng-1.5beta1-ncurses.patch b/app-editors/ng/files/ng-1.5beta1-ncurses.patch index 6808d911152b..a31ddccd6614 100644 --- a/app-editors/ng/files/ng-1.5beta1-ncurses.patch +++ b/app-editors/ng/files/ng-1.5beta1-ncurses.patch @@ -1,12 +1,16 @@ ---- a/configure 2004-05-12 09:26:44.000000000 +0900 -+++ b/configure 2004-05-12 09:27:06.000000000 +0900 -@@ -1077,3+1077,3 @@ - rm -f conftest* --test "$ac_cv_search_tgetstr" = "no" && for i in curses ncurses termlib; do -+test "$ac_cv_search_tgetstr" = "no" && for i in ncurses termlib; do - LIBS="-l$i $ac_func_search_save_LIBS" -@@ -1140,3 +1140,3 @@ - rm -f conftest* --test "$ac_cv_search_tgetstr" = "no" && for i in termcap curses ncurses; do -+test "$ac_cv_search_tgetstr" = "no" && for i in termcap ncurses; do - LIBS="-l$i $ac_func_search_save_LIBS" +--- ng-1.5beta1/sys/unix/configure.in ++++ ng-1.5beta1/sys/unix/configure.in +@@ -33,9 +33,11 @@ + [ --with-termcap Build with termcap library. (default)], + [ts_with_terminfo="no"]) + if test "$ts_with_terminfo" = "yes"; then +- AC_SEARCH_LIBS(tgetstr, curses ncurses termlib) ++ AC_SEARCH_LIBS(tgetstr, ncurses termlib) ++ AC_SEARCH_LIBS(tputs, tinfo ncurses termlib) + else +- AC_SEARCH_LIBS(tgetstr, termcap curses ncurses) ++ AC_SEARCH_LIBS(tgetstr, termcap ncurses) ++ AC_SEARCH_LIBS(tputs, termcap tinfo ncurses) + fi + + dnl Checks for header files. |