diff options
author | Jeroen Roovers <jer@gentoo.org> | 2020-01-28 16:37:51 +0100 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2020-01-28 16:38:25 +0100 |
commit | d4645a4940923b40d8785e4ea7e6d774f81b0785 (patch) | |
tree | 01147fef8e33a9f36093d19ee3f047364a167dc5 /net-analyzer/yersinia/files | |
parent | net-analyzer/yersinia: Set CFLAGS=-fcommon (diff) | |
download | gentoo-d4645a4940923b40d8785e4ea7e6d774f81b0785.tar.gz gentoo-d4645a4940923b40d8785e4ea7e6d774f81b0785.tar.bz2 gentoo-d4645a4940923b40d8785e4ea7e6d774f81b0785.zip |
net-analyzer/yersinia: Add live ebuild
Package-Manager: Portage-2.3.85, Repoman-2.3.20
Signed-off-by: Jeroen Roovers <jer@gentoo.org>
Diffstat (limited to 'net-analyzer/yersinia/files')
-rw-r--r-- | net-analyzer/yersinia/files/yersinia-9999-tinfo.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/net-analyzer/yersinia/files/yersinia-9999-tinfo.patch b/net-analyzer/yersinia/files/yersinia-9999-tinfo.patch new file mode 100644 index 000000000000..b5bf566c107d --- /dev/null +++ b/net-analyzer/yersinia/files/yersinia-9999-tinfo.patch @@ -0,0 +1,27 @@ +--- a/configure.ac ++++ b/configure.ac +@@ -467,6 +467,7 @@ + AC_DEFINE(HAVE_REMOTE_ADMIN) + fi + ++PKG_CHECK_MODULES(ncurses,ncurses) + + dnl Curses detection: Munged from Midnight Commander's configure.in + dnl +@@ -616,6 +617,16 @@ + AC_DEFINE(USE_NCURSES) + AC_DEFINE(HAS_CURSES) + has_curses=true ++ else ++ if test "$ncurses_LIBS" ; then ++ CURSES_LIBS="$ncurses_LIBS" ++ CURSES_INCLUDEDIR="$ncurses_CFLAGS" ++ search_ncurses=false ++ screen_manager="ncurses" ++ AC_DEFINE(USE_NCURSES) ++ AC_DEFINE(HAS_CURSES) ++ has_curses=true ++ fi + fi + ) + |