commit:     b59f5805e900932fb6aefed63181e8f97ee53df5
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 25 10:09:12 2020 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Sat Apr 25 10:09:30 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b59f5805

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 <jer <AT> gentoo.org>

 net-analyzer/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(-)

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 00000000000..6eb2df50c43
--- /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 dded84ec734..dd3818e50c1 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() {

Reply via email to