Gentoo Archives: gentoo-commits

From: Jeroen Roovers <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/net-snmp/, net-analyzer/net-snmp/files/
Date: Sat, 25 Apr 2020 10:09:43
Message-Id: 1587809370.b59f5805e900932fb6aefed63181e8f97ee53df5.jer@gentoo
1 commit: b59f5805e900932fb6aefed63181e8f97ee53df5
2 Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
3 AuthorDate: Sat Apr 25 10:09:12 2020 +0000
4 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
5 CommitDate: Sat Apr 25 10:09:30 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b59f5805
7
8 net-analyzer/net-snmp: Update live ebuild
9
10 Package-Manager: Portage-2.3.99, Repoman-2.3.22
11 Bug: https://bugs.gentoo.org/show_bug.cgi?id=705938
12 Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org>
13
14 net-analyzer/net-snmp/files/net-snmp-99999999-tinfo.patch | 10 ++++++++++
15 net-analyzer/net-snmp/net-snmp-99999999.ebuild | 4 ++--
16 2 files changed, 12 insertions(+), 2 deletions(-)
17
18 diff --git a/net-analyzer/net-snmp/files/net-snmp-99999999-tinfo.patch b/net-analyzer/net-snmp/files/net-snmp-99999999-tinfo.patch
19 new file mode 100644
20 index 00000000000..6eb2df50c43
21 --- /dev/null
22 +++ b/net-analyzer/net-snmp/files/net-snmp-99999999-tinfo.patch
23 @@ -0,0 +1,10 @@
24 +--- a/configure.d/config_os_libs2
25 ++++ b/configure.d/config_os_libs2
26 +@@ -598,6 +598,7 @@
27 + AC_CHECK_HEADERS([curses.h])
28 + AC_CHECK_HEADERS([ncurses/curses.h])],,,
29 + [LIBCURSES])
30 ++NETSNMP_SEARCH_LIBS([cbreak], [tinfo],[LIBCURSES="$LIBCURSES -ltinfo"],,,)
31 + AC_SUBST([LIBCURSES])
32 +
33 + # libm for ceil
34
35 diff --git a/net-analyzer/net-snmp/net-snmp-99999999.ebuild b/net-analyzer/net-snmp/net-snmp-99999999.ebuild
36 index dded84ec734..dd3818e50c1 100644
37 --- a/net-analyzer/net-snmp/net-snmp-99999999.ebuild
38 +++ b/net-analyzer/net-snmp/net-snmp-99999999.ebuild
39 @@ -2,7 +2,7 @@
40 # Distributed under the terms of the GNU General Public License v2
41
42 EAPI=7
43 -PYTHON_COMPAT=( python2_7 )
44 +PYTHON_COMPAT=( python3_{6,7,8} )
45 DISTUTILS_SINGLE_IMPL=yesplz
46 DISTUTILS_OPTIONAL=yesplz
47 WANT_AUTOMAKE=none
48 @@ -76,8 +76,8 @@ PATCHES=(
49 "${FILESDIR}"/${PN}-5.7.3-include-limits.patch
50 "${FILESDIR}"/${PN}-5.8-do-not-conflate-LDFLAGS-and-LIBS.patch
51 "${FILESDIR}"/${PN}-5.8-pcap.patch
52 - "${FILESDIR}"/${PN}-5.8-tinfo.patch
53 "${FILESDIR}"/${PN}-5.8.1-pkg-config.patch
54 + "${FILESDIR}"/${PN}-99999999-tinfo.patch
55 )
56
57 pkg_setup() {