summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2017-10-16 13:46:37 +0200
committerJeroen Roovers <jer@gentoo.org>2017-10-16 13:48:36 +0200
commit67ad15bb7a3095df22fb33bb6891cfa78a856bea (patch)
tree1db0f30e50347033cab73841de23c90e84fc1224 /app-shells/hstr
parentnet-mail/courier-imap: Fix net-libs/courier-unicode dependencies (bug #624258). (diff)
downloadgentoo-67ad15bb7a3095df22fb33bb6891cfa78a856bea.tar.gz
gentoo-67ad15bb7a3095df22fb33bb6891cfa78a856bea.tar.bz2
gentoo-67ad15bb7a3095df22fb33bb6891cfa78a856bea.zip
app-shells/hstr: Fix building against sys-libs/ncurses[tinfo] (bug #634428).
Package-Manager: Portage-2.3.11, Repoman-2.3.3
Diffstat (limited to 'app-shells/hstr')
-rw-r--r--app-shells/hstr/files/hstr-1.23-tinfo.patch11
-rw-r--r--app-shells/hstr/hstr-1.23.ebuild3
2 files changed, 14 insertions, 0 deletions
diff --git a/app-shells/hstr/files/hstr-1.23-tinfo.patch b/app-shells/hstr/files/hstr-1.23-tinfo.patch
new file mode 100644
index 000000000000..2dbd8dcf0c97
--- /dev/null
+++ b/app-shells/hstr/files/hstr-1.23-tinfo.patch
@@ -0,0 +1,11 @@
+--- a/configure.ac
++++ b/configure.ac
+@@ -76,7 +76,7 @@
+ AC_CHECK_LIB(m, cos, [], [AC_MSG_ERROR([Could not find m library])])
+ 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_CHECK_LIB(tinfo, keypad, [], [AC_MSG_ERROR([Could not find tinfo library])])
+
+ # Checks for header files.
+ AC_CHECK_HEADER(assert.h)
diff --git a/app-shells/hstr/hstr-1.23.ebuild b/app-shells/hstr/hstr-1.23.ebuild
index 8c05b341c62b..aa0d958ff0d8 100644
--- a/app-shells/hstr/hstr-1.23.ebuild
+++ b/app-shells/hstr/hstr-1.23.ebuild
@@ -20,6 +20,9 @@ DEPEND="
virtual/pkgconfig"
DOCS=( CONFIGURATION.md README.md )
+PATCHES=(
+ "${FILESDIR}"/${PN}-1.23-tinfo.patch
+)
src_prepare() {
default