1 |
commit: 67ad15bb7a3095df22fb33bb6891cfa78a856bea |
2 |
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Oct 16 11:46:37 2017 +0000 |
4 |
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Oct 16 11:48:36 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67ad15bb |
7 |
|
8 |
app-shells/hstr: Fix building against sys-libs/ncurses[tinfo] (bug #634428). |
9 |
|
10 |
Package-Manager: Portage-2.3.11, Repoman-2.3.3 |
11 |
|
12 |
app-shells/hstr/files/hstr-1.23-tinfo.patch | 11 +++++++++++ |
13 |
app-shells/hstr/hstr-1.23.ebuild | 3 +++ |
14 |
2 files changed, 14 insertions(+) |
15 |
|
16 |
diff --git a/app-shells/hstr/files/hstr-1.23-tinfo.patch b/app-shells/hstr/files/hstr-1.23-tinfo.patch |
17 |
new file mode 100644 |
18 |
index 00000000000..2dbd8dcf0c9 |
19 |
--- /dev/null |
20 |
+++ b/app-shells/hstr/files/hstr-1.23-tinfo.patch |
21 |
@@ -0,0 +1,11 @@ |
22 |
+--- a/configure.ac |
23 |
++++ b/configure.ac |
24 |
+@@ -76,7 +76,7 @@ |
25 |
+ AC_CHECK_LIB(m, cos, [], [AC_MSG_ERROR([Could not find m library])]) |
26 |
+ AC_CHECK_LIB(readline, using_history, [], [AC_MSG_ERROR([Could not find readline library])]) |
27 |
+ # ncurses might be linked in libtinfo |
28 |
+-#AC_CHECK_LIB(tinfo, keypad, [], [AC_MSG_ERROR([Could not find tinfo library])]) |
29 |
++AC_CHECK_LIB(tinfo, keypad, [], [AC_MSG_ERROR([Could not find tinfo library])]) |
30 |
+ |
31 |
+ # Checks for header files. |
32 |
+ AC_CHECK_HEADER(assert.h) |
33 |
|
34 |
diff --git a/app-shells/hstr/hstr-1.23.ebuild b/app-shells/hstr/hstr-1.23.ebuild |
35 |
index 8c05b341c62..aa0d958ff0d 100644 |
36 |
--- a/app-shells/hstr/hstr-1.23.ebuild |
37 |
+++ b/app-shells/hstr/hstr-1.23.ebuild |
38 |
@@ -20,6 +20,9 @@ DEPEND=" |
39 |
virtual/pkgconfig" |
40 |
|
41 |
DOCS=( CONFIGURATION.md README.md ) |
42 |
+PATCHES=( |
43 |
+ "${FILESDIR}"/${PN}-1.23-tinfo.patch |
44 |
+) |
45 |
|
46 |
src_prepare() { |
47 |
default |