Gentoo Archives: gentoo-commits

From: Patrice Clement <monsieurp@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-shells/hstr/, app-shells/hstr/files/
Date: Fri, 23 Feb 2018 09:07:02
Message-Id: 1519376811.ac8e675dbf042cd9445b358dcdaf09bf6a000c8a.monsieurp@gentoo
1 commit: ac8e675dbf042cd9445b358dcdaf09bf6a000c8a
2 Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
3 AuthorDate: Fri Feb 23 09:06:20 2018 +0000
4 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
5 CommitDate: Fri Feb 23 09:06:51 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac8e675d
7
8 app-shells/hstr: add back tinfo patch.
9
10 Closes: https://bugs.gentoo.org/644750
11 Package-Manager: Portage-2.3.19, Repoman-2.3.6
12
13 app-shells/hstr/files/hstr-1.24-tinfo.patch | 11 +++++++++++
14 app-shells/hstr/hstr-1.24.ebuild | 1 +
15 2 files changed, 12 insertions(+)
16
17 diff --git a/app-shells/hstr/files/hstr-1.24-tinfo.patch b/app-shells/hstr/files/hstr-1.24-tinfo.patch
18 new file mode 100644
19 index 00000000000..85a4743c0e9
20 --- /dev/null
21 +++ b/app-shells/hstr/files/hstr-1.24-tinfo.patch
22 @@ -0,0 +1,11 @@
23 +--- a/configure.ac
24 ++++ b/configure.ac
25 +@@ -76,7 +76,7 @@
26 + AC_CHECK_LIB(m, cos, [], [AC_MSG_ERROR([Could not find m library])])
27 + AC_CHECK_LIB(readline, using_history, [], [AC_MSG_ERROR([Could not find readline library])])
28 + # ncurses might be linked in libtinfo
29 +-#AC_CHECK_LIB(tinfo, keypad, [], [AC_MSG_ERROR([Could not find tinfo library])])
30 ++AC_SEARCH_LIBS(keypad, tinfo, [], [AC_MSG_ERROR([Could not find tinfo library])])
31 +
32 + # Checks for header files.
33 + AC_CHECK_HEADER(assert.h)
34
35 diff --git a/app-shells/hstr/hstr-1.24.ebuild b/app-shells/hstr/hstr-1.24.ebuild
36 index 0f8e9981f2a..fc44e8039c0 100644
37 --- a/app-shells/hstr/hstr-1.24.ebuild
38 +++ b/app-shells/hstr/hstr-1.24.ebuild
39 @@ -20,6 +20,7 @@ DEPEND="
40 virtual/pkgconfig"
41
42 DOCS=( CONFIGURATION.md README.md )
43 +PATCHES=( "${FILESDIR}/${P}-tinfo.patch" )
44
45 src_prepare() {
46 default