diff options
-rw-r--r-- | net-wireless/kismet/files/kismet-2016.01.1-tinfo.patch | 11 | ||||
-rw-r--r-- | net-wireless/kismet/kismet-2016.01.1.ebuild | 2 |
2 files changed, 13 insertions, 0 deletions
diff --git a/net-wireless/kismet/files/kismet-2016.01.1-tinfo.patch b/net-wireless/kismet/files/kismet-2016.01.1-tinfo.patch new file mode 100644 index 000000000000..6294c80c96d5 --- /dev/null +++ b/net-wireless/kismet/files/kismet-2016.01.1-tinfo.patch @@ -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 diff --git a/net-wireless/kismet/kismet-2016.01.1.ebuild b/net-wireless/kismet/kismet-2016.01.1.ebuild index 403a75f02f25..596d8ab85287 100644 --- a/net-wireless/kismet/kismet-2016.01.1.ebuild +++ b/net-wireless/kismet/kismet-2016.01.1.ebuild @@ -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 |