summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrice Clement <monsieurp@gentoo.org>2018-02-23 10:06:20 +0100
committerPatrice Clement <monsieurp@gentoo.org>2018-02-23 10:06:51 +0100
commitac8e675dbf042cd9445b358dcdaf09bf6a000c8a (patch)
treef5f74f1830c684f4cd912357895998f13b536473 /app-shells/hstr
parentnet-misc/sslh: use HTTPS (diff)
downloadgentoo-ac8e675dbf042cd9445b358dcdaf09bf6a000c8a.tar.gz
gentoo-ac8e675dbf042cd9445b358dcdaf09bf6a000c8a.tar.bz2
gentoo-ac8e675dbf042cd9445b358dcdaf09bf6a000c8a.zip
app-shells/hstr: add back tinfo patch.
Closes: https://bugs.gentoo.org/644750 Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'app-shells/hstr')
-rw-r--r--app-shells/hstr/files/hstr-1.24-tinfo.patch11
-rw-r--r--app-shells/hstr/hstr-1.24.ebuild1
2 files changed, 12 insertions, 0 deletions
diff --git a/app-shells/hstr/files/hstr-1.24-tinfo.patch b/app-shells/hstr/files/hstr-1.24-tinfo.patch
new file mode 100644
index 000000000000..85a4743c0e94
--- /dev/null
+++ b/app-shells/hstr/files/hstr-1.24-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_SEARCH_LIBS(keypad, tinfo, [], [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.24.ebuild b/app-shells/hstr/hstr-1.24.ebuild
index 0f8e9981f2a3..fc44e8039c0b 100644
--- a/app-shells/hstr/hstr-1.24.ebuild
+++ b/app-shells/hstr/hstr-1.24.ebuild
@@ -20,6 +20,7 @@ DEPEND="
virtual/pkgconfig"
DOCS=( CONFIGURATION.md README.md )
+PATCHES=( "${FILESDIR}/${P}-tinfo.patch" )
src_prepare() {
default