summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZero_Chaos <zerochaos@gentoo.org>2016-03-14 14:11:12 -0400
committerZero_Chaos <zerochaos@gentoo.org>2016-03-14 14:11:12 -0400
commitbbdf11c13e8f40b8791d7aed9a4f144bdb89cd85 (patch)
tree9833ea9cbc84729096f496aaa22cb55f7878cb57 /net-wireless
parentdev-ruby/bundler: adding tested ruby23 support (diff)
downloadgentoo-bbdf11c13e8f40b8791d7aed9a4f144bdb89cd85.tar.gz
gentoo-bbdf11c13e8f40b8791d7aed9a4f144bdb89cd85.tar.bz2
gentoo-bbdf11c13e8f40b8791d7aed9a4f144bdb89cd85.zip
net-wireless/kismet: add tinfo patch to 2016.01.1
Package-Manager: portage-2.2.27
Diffstat (limited to 'net-wireless')
-rw-r--r--net-wireless/kismet/files/kismet-2016.01.1-tinfo.patch11
-rw-r--r--net-wireless/kismet/kismet-2016.01.1.ebuild2
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