gentoo-ebuilds/net-analyzer/yersinia/files/yersinia-0.7.3-tinfo.patch
Rick Farina 6c6ab1f71f
net-analyzer/yersinia: add 0.8.2_p20221119, drop 0.8.2-r2
current 0.8.2-r2 USE=gtk didn't appear to function correctly.  I fixed
the deps to be a bit more explicit but that didn't fix it.  Upgrading to
current git snapshot fixed the issue so I am removing the non-working
version and replacing it with a working version in one commit.

Additionally removing unneeded patches, thanks to Sam for upstreaming
them.
Signed-off-by: Rick Farina <zerochaos@gentoo.org>
2024-09-27 10:00:21 -04:00

27 lines
563 B
Diff

--- 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
)