net-wireless/kismet: add tinfo patch to 2016.01.1

Package-Manager: portage-2.2.27
This commit is contained in:
Zero_Chaos
2016-03-14 14:11:12 -04:00
parent 711755fac2
commit bbdf11c13e
2 changed files with 13 additions and 0 deletions
@@ -0,0 +1,11 @@
--- a/configure.ac
+++ b/configure.ac
@@ -423,6 +423,8 @@
foundlcurses=yes curseaux="-lcurses" termcontrol="curses" )
fi
+ AC_SEARCH_LIBS([stdscr], tinfo ncurses,curseaux="$curseaux $ac_res")
+
if test "$foundlcurses" != "yes"; then
AC_MSG_ERROR(Failed to find libcurses or libncurses. Install them or disable building the Kismet client with --disable-client. Disabling the client is probably not something you want to do normally.)
fi
@@ -51,6 +51,8 @@ RDEPEND="${CDEPEND}
"
src_prepare() {
epatch "${FILESDIR}"/${P}-tinfo.patch
sed -i -e "s:^\(logtemplate\)=\(.*\):\1=/tmp/\2:" \
conf/kismet.conf.in