From b59f5805e900932fb6aefed63181e8f97ee53df5 Mon Sep 17 00:00:00 2001 From: Jeroen Roovers Date: Sat, 25 Apr 2020 12:09:12 +0200 Subject: [PATCH] net-analyzer/net-snmp: Update live ebuild Package-Manager: Portage-2.3.99, Repoman-2.3.22 Bug: https://bugs.gentoo.org/show_bug.cgi?id=705938 Signed-off-by: Jeroen Roovers --- .../net-snmp/files/net-snmp-99999999-tinfo.patch | 10 ++++++++++ net-analyzer/net-snmp/net-snmp-99999999.ebuild | 4 ++-- 2 files changed, 12 insertions(+), 2 deletions(-) create mode 100644 net-analyzer/net-snmp/files/net-snmp-99999999-tinfo.patch diff --git a/net-analyzer/net-snmp/files/net-snmp-99999999-tinfo.patch b/net-analyzer/net-snmp/files/net-snmp-99999999-tinfo.patch new file mode 100644 index 000000000000..6eb2df50c43a --- /dev/null +++ b/net-analyzer/net-snmp/files/net-snmp-99999999-tinfo.patch @@ -0,0 +1,10 @@ +--- a/configure.d/config_os_libs2 ++++ b/configure.d/config_os_libs2 +@@ -598,6 +598,7 @@ + AC_CHECK_HEADERS([curses.h]) + AC_CHECK_HEADERS([ncurses/curses.h])],,, + [LIBCURSES]) ++NETSNMP_SEARCH_LIBS([cbreak], [tinfo],[LIBCURSES="$LIBCURSES -ltinfo"],,,) + AC_SUBST([LIBCURSES]) + + # libm for ceil diff --git a/net-analyzer/net-snmp/net-snmp-99999999.ebuild b/net-analyzer/net-snmp/net-snmp-99999999.ebuild index dded84ec7341..dd3818e50c1d 100644 --- a/net-analyzer/net-snmp/net-snmp-99999999.ebuild +++ b/net-analyzer/net-snmp/net-snmp-99999999.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=7 -PYTHON_COMPAT=( python2_7 ) +PYTHON_COMPAT=( python3_{6,7,8} ) DISTUTILS_SINGLE_IMPL=yesplz DISTUTILS_OPTIONAL=yesplz WANT_AUTOMAKE=none @@ -76,8 +76,8 @@ PATCHES=( "${FILESDIR}"/${PN}-5.7.3-include-limits.patch "${FILESDIR}"/${PN}-5.8-do-not-conflate-LDFLAGS-and-LIBS.patch "${FILESDIR}"/${PN}-5.8-pcap.patch - "${FILESDIR}"/${PN}-5.8-tinfo.patch "${FILESDIR}"/${PN}-5.8.1-pkg-config.patch + "${FILESDIR}"/${PN}-99999999-tinfo.patch ) pkg_setup() { -- 2.26.2