From e4dc84b9ad366dca1aa0551642903b421c01fb1a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Holger=20Hoffst=C3=A4tte?= Date: Sat, 12 Jul 2025 16:21:53 +0200 Subject: [PATCH] net-analyzer/mtr: fix tinfo patch for ncurses UI MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes: https://bugs.gentoo.org/960013 Signed-off-by: Holger Hoffstätte Part-of: https://github.com/gentoo/gentoo/pull/42968 Closes: https://github.com/gentoo/gentoo/pull/42968 Signed-off-by: Sam James --- net-analyzer/mtr/files/mtr-0.96-tinfo.patch | 5 +++-- net-analyzer/mtr/{mtr-0.96.ebuild => mtr-0.96-r1.ebuild} | 0 2 files changed, 3 insertions(+), 2 deletions(-) rename net-analyzer/mtr/{mtr-0.96.ebuild => mtr-0.96-r1.ebuild} (100%) diff --git a/net-analyzer/mtr/files/mtr-0.96-tinfo.patch b/net-analyzer/mtr/files/mtr-0.96-tinfo.patch index ab3b9d23db2d6..2992d088b65af 100644 --- a/net-analyzer/mtr/files/mtr-0.96-tinfo.patch +++ b/net-analyzer/mtr/files/mtr-0.96-tinfo.patch @@ -1,4 +1,5 @@ -https://github.com/traviscross/mtr/pull/368 +Fixed version of https://github.com/traviscross/mtr/pull/368 +Bug: https://bugs.gentoo.org/960013 --- a/configure.ac +++ b/configure.ac @@ -136,7 +136,10 @@ AS_IF([test "x$with_ncurses" = "xyes"], @@ -6,7 +7,7 @@ https://github.com/traviscross/mtr/pull/368 [AC_SEARCH_LIBS( [initscr], [ncursesw ncurses curses], + [AC_SEARCH_LIBS( -+ [raw], [ncurses curses cursesX tinfo], ++ [raw], [ncurses curses cursesX tinfow], [AC_DEFINE([HAVE_CURSES], [1], [Define if a curses library available])], + [with_ncurses=no])], [with_ncurses=no]) diff --git a/net-analyzer/mtr/mtr-0.96.ebuild b/net-analyzer/mtr/mtr-0.96-r1.ebuild similarity index 100% rename from net-analyzer/mtr/mtr-0.96.ebuild rename to net-analyzer/mtr/mtr-0.96-r1.ebuild