summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2020-04-25 12:09:12 +0200
committerJeroen Roovers <jer@gentoo.org>2020-04-25 12:09:30 +0200
commitb59f5805e900932fb6aefed63181e8f97ee53df5 (patch)
tree46a79ff1e40f88f4b9393de6e2c27dd984fb5d9e /net-analyzer/net-snmp
parentdev-util/stripe-mock: Remove unnecessary slash strip (diff)
downloadgentoo-b59f5805e900932fb6aefed63181e8f97ee53df5.tar.gz
gentoo-b59f5805e900932fb6aefed63181e8f97ee53df5.tar.bz2
gentoo-b59f5805e900932fb6aefed63181e8f97ee53df5.zip
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@gentoo.org>
Diffstat (limited to 'net-analyzer/net-snmp')
-rw-r--r--net-analyzer/net-snmp/files/net-snmp-99999999-tinfo.patch10
-rw-r--r--net-analyzer/net-snmp/net-snmp-99999999.ebuild4
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 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() {