Package-Manager: Portage-2.3.84, Repoman-2.3.20
Closes: https://bugs.gentoo.org/690082
Signed-off-by: Jeroen Roovers <jer@gentoo.org>
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
sys-libs/readline:0=
fam? ( virtual/fam )
pcre? ( dev-libs/libpcre )"
-DEPEND="${RDEPEND}
- virtual/pkgconfig"
+DEPEND="${RDEPEND}"
+PATCHES=(
+ "${FILESDIR}"/${PN}-0.18.4-tinfo.patch
+)
src_prepare() {
default
--- /dev/null
+--- a/configure.ac
++++ b/configure.ac
+@@ -133,7 +133,7 @@
+ AC_SEARCH_LIBS([socket], [socket])
+ AC_SEARCH_LIBS([inet_addr], [nsl])
+ AC_SEARCH_LIBS([attron], [ncurses])
+-AC_SEARCH_LIBS([tgetstr], [termcap])
++AC_SEARCH_LIBS([tgetstr], [tinfo termcap])
+ AC_SEARCH_LIBS([mvprintw], [curses ncurses] ,
+ [] ,
+ [