SwordArMor-gentoo-overlay/net-analyzer/mtr/files/mtr-0.88-tinfo.patch
Alarig Le Lay 91618a1426
net-analyzer/mtr: Upstream issue 232
Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Alarig Le Lay <alarig@swordarmor.fr>
2020-11-14 22:35:32 +01:00

14 lines
450 B
Diff

--- a/configure.ac
+++ b/configure.ac
@@ -101,7 +101,10 @@
# (On Solaris 11.3, ncurses builds and links for us, but curses does not.)
[AC_SEARCH_LIBS(
[initscr], [ncurses curses],
+ [AC_SEARCH_LIBS(
+ [raw], [ncurses curses cursesX tinfo],
[AC_DEFINE([HAVE_CURSES], [1], [Define if a curses library available])],
+ [with_ncurses=no])],
[with_ncurses=no])
])
AM_CONDITIONAL([WITH_CURSES], [test "x$with_ncurses" = xyes])