commit:     c4007cf22d100c3fa2ce942480671d49b39cd80a
Author:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 30 13:26:21 2019 +0000
Commit:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Tue May  7 21:27:06 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c4007cf2

app-shells/hstr: force tinfow use.

Courtesy of vapier <AT> gentoo.org.

Closes: https://bugs.gentoo.org/651720
Closes: https://github.com/gentoo/gentoo/pull/11867
Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>
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 85a4743c0e9..fd4eb414b12 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 69a54df0bce..887a5f6d55a 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}

Reply via email to