summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2018-03-02 11:14:16 +0100
committerJeroen Roovers <jer@gentoo.org>2018-03-02 11:14:16 +0100
commit693c7eae47ff7bee2bd2a0eb1fe5dfaa4a3c6fd6 (patch)
tree36f6d7aac6da8053a087c1c9da43b7f811092949 /app-misc/abook/files
parentwww-client/otter: Add USE=webengine (bug #649170). (diff)
downloadgentoo-693c7eae47ff7bee2bd2a0eb1fe5dfaa4a3c6fd6.tar.gz
gentoo-693c7eae47ff7bee2bd2a0eb1fe5dfaa4a3c6fd6.tar.bz2
gentoo-693c7eae47ff7bee2bd2a0eb1fe5dfaa4a3c6fd6.zip
app-misc/abook: Fix building against sys-libs/ncurses[tinfo] (bug #606478).
Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'app-misc/abook/files')
-rw-r--r--app-misc/abook/files/abook-0.6.1-tinfo.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/app-misc/abook/files/abook-0.6.1-tinfo.patch b/app-misc/abook/files/abook-0.6.1-tinfo.patch
new file mode 100644
index 000000000000..e8c4585dbcb4
--- /dev/null
+++ b/app-misc/abook/files/abook-0.6.1-tinfo.patch
@@ -0,0 +1,18 @@
+--- a/configure.ac
++++ b/configure.ac
+@@ -86,6 +86,7 @@
+
+ AC_CHECK_LIB(ncursesw, initscr,
+ [LIBS="$LIBS -lncursesw"
++ AC_SEARCH_LIBS(cbreak, tinfo)
+ if test x$abook_cv_curses = x/usr -a -d /usr/include/ncursesw; then
+ CPPFLAGS="$CPPFLAGS -I/usr/include/ncursesw"
+ fi
+@@ -93,6 +94,7 @@
+ ac_widec_possible=no
+ AC_CHECK_LIB(ncurses, initscr,
+ [LIBS="$LIBS -lncurses"
++ AC_SEARCH_LIBS(cbreak, tinfo)
+ if test x$abook_cv_curses = x/usr -a -d /usr/include/ncurses; then
+ CPPFLAGS="$CPPFLAGS -I/usr/include/ncurses"
+ fi