1 |
commit: 693c7eae47ff7bee2bd2a0eb1fe5dfaa4a3c6fd6 |
2 |
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Mar 2 10:14:16 2018 +0000 |
4 |
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Mar 2 10:14:16 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=693c7eae |
7 |
|
8 |
app-misc/abook: Fix building against sys-libs/ncurses[tinfo] (bug #606478). |
9 |
|
10 |
Package-Manager: Portage-2.3.24, Repoman-2.3.6 |
11 |
|
12 |
app-misc/abook/abook-0.6.1-r1.ebuild | 7 ++++--- |
13 |
app-misc/abook/files/abook-0.6.1-tinfo.patch | 18 ++++++++++++++++++ |
14 |
2 files changed, 22 insertions(+), 3 deletions(-) |
15 |
|
16 |
diff --git a/app-misc/abook/abook-0.6.1-r1.ebuild b/app-misc/abook/abook-0.6.1-r1.ebuild |
17 |
index 4d1dccd13b8..37e0289c6c3 100644 |
18 |
--- a/app-misc/abook/abook-0.6.1-r1.ebuild |
19 |
+++ b/app-misc/abook/abook-0.6.1-r1.ebuild |
20 |
@@ -1,4 +1,4 @@ |
21 |
-# Copyright 1999-2017 Gentoo Foundation |
22 |
+# Copyright 1999-2018 Gentoo Foundation |
23 |
# Distributed under the terms of the GNU General Public License v2 |
24 |
|
25 |
EAPI=6 |
26 |
@@ -26,11 +26,12 @@ DEPEND="nls? ( sys-devel/gettext )" |
27 |
S="${WORKDIR}/${MY_P}" |
28 |
|
29 |
DOCS=( BUGS ChangeLog FAQ README TODO sample.abookrc ) |
30 |
+PATCHES=( |
31 |
+ "${FILESDIR}"/${PN}-0.6.1-tinfo.patch |
32 |
+) |
33 |
|
34 |
src_prepare() { |
35 |
default |
36 |
- |
37 |
- # TODO: do the right thing and find out whats wrong with Makefile.in |
38 |
eautoreconf |
39 |
} |
40 |
|
41 |
|
42 |
diff --git a/app-misc/abook/files/abook-0.6.1-tinfo.patch b/app-misc/abook/files/abook-0.6.1-tinfo.patch |
43 |
new file mode 100644 |
44 |
index 00000000000..e8c4585dbcb |
45 |
--- /dev/null |
46 |
+++ b/app-misc/abook/files/abook-0.6.1-tinfo.patch |
47 |
@@ -0,0 +1,18 @@ |
48 |
+--- a/configure.ac |
49 |
++++ b/configure.ac |
50 |
+@@ -86,6 +86,7 @@ |
51 |
+ |
52 |
+ AC_CHECK_LIB(ncursesw, initscr, |
53 |
+ [LIBS="$LIBS -lncursesw" |
54 |
++ AC_SEARCH_LIBS(cbreak, tinfo) |
55 |
+ if test x$abook_cv_curses = x/usr -a -d /usr/include/ncursesw; then |
56 |
+ CPPFLAGS="$CPPFLAGS -I/usr/include/ncursesw" |
57 |
+ fi |
58 |
+@@ -93,6 +94,7 @@ |
59 |
+ ac_widec_possible=no |
60 |
+ AC_CHECK_LIB(ncurses, initscr, |
61 |
+ [LIBS="$LIBS -lncurses" |
62 |
++ AC_SEARCH_LIBS(cbreak, tinfo) |
63 |
+ if test x$abook_cv_curses = x/usr -a -d /usr/include/ncurses; then |
64 |
+ CPPFLAGS="$CPPFLAGS -I/usr/include/ncurses" |
65 |
+ fi |