gentoo-ebuilds/app-editors/ng/files/ng-1.5beta1-ncurses.patch
Lars Wendler 20dbfbf2e1
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>
2021-01-09 17:44:36 +01:00

16 lines
556 B
Diff

--- 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.