From c4007cf22d100c3fa2ce942480671d49b39cd80a Mon Sep 17 00:00:00 2001 From: Patrice Clement Date: Tue, 30 Apr 2019 15:26:21 +0200 Subject: [PATCH] app-shells/hstr: force tinfow use. Courtesy of vapier@gentoo.org. Closes: https://bugs.gentoo.org/651720 Closes: https://github.com/gentoo/gentoo/pull/11867 Signed-off-by: Patrice Clement Package-Manager: Portage-2.3.62, Repoman-2.3.11 --- app-shells/hstr/files/hstr-1.23-tinfo.patch | 2 +- app-shells/hstr/hstr-2.0.ebuild | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app-shells/hstr/files/hstr-1.23-tinfo.patch b/app-shells/hstr/files/hstr-1.23-tinfo.patch index 85a4743c0e94..fd4eb414b12b 100644 --- a/app-shells/hstr/files/hstr-1.23-tinfo.patch +++ b/app-shells/hstr/files/hstr-1.23-tinfo.patch @@ -5,7 +5,7 @@ AC_CHECK_LIB(readline, using_history, [], [AC_MSG_ERROR([Could not find readline library])]) # ncurses might be linked in libtinfo -#AC_CHECK_LIB(tinfo, keypad, [], [AC_MSG_ERROR([Could not find tinfo library])]) -+AC_SEARCH_LIBS(keypad, tinfo, [], [AC_MSG_ERROR([Could not find tinfo library])]) ++AC_SEARCH_LIBS(tinfow, tinfo, [], [AC_MSG_ERROR([Could not find tinfow library])]) # Checks for header files. AC_CHECK_HEADER(assert.h) diff --git a/app-shells/hstr/hstr-2.0.ebuild b/app-shells/hstr/hstr-2.0.ebuild index 69a54df0bce8..887a5f6d55af 100644 --- a/app-shells/hstr/hstr-2.0.ebuild +++ b/app-shells/hstr/hstr-2.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Authors +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -14,7 +14,7 @@ LICENSE="Apache-2.0" KEYWORDS="amd64 x86 ~amd64-fbsd" RDEPEND=" - sys-libs/ncurses:0=" + sys-libs/ncurses:0=[unicode]" DEPEND=" ${RDEPEND} -- 2.26.2