summaryrefslogtreecommitdiff
path: root/app-misc/abook/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-05-30 11:44:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-05-30 11:44:06 +0100
commitf516638b7fe9592837389826a6152a7e1b251c54 (patch)
tree8bfecb640b7b6403d7a3d662d923eed630033da7 /app-misc/abook/files
parent1a61119f9f7b057830e2ce0563f913ec86f282ad (diff)
gentoo resync : 30.05.2020
Diffstat (limited to 'app-misc/abook/files')
-rw-r--r--app-misc/abook/files/abook-0.6.1-tinfo.patch4
-rw-r--r--app-misc/abook/files/abook-0.6.1-vformat.patch11
2 files changed, 13 insertions, 2 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
index e8c4585dbcb4..3c12032932f1 100644
--- a/app-misc/abook/files/abook-0.6.1-tinfo.patch
+++ b/app-misc/abook/files/abook-0.6.1-tinfo.patch
@@ -4,7 +4,7 @@
AC_CHECK_LIB(ncursesw, initscr,
[LIBS="$LIBS -lncursesw"
-+ AC_SEARCH_LIBS(cbreak, tinfo)
++ AC_SEARCH_LIBS(cbreak, tinfow, LIBS="$LIBS -ltinfow")
if test x$abook_cv_curses = x/usr -a -d /usr/include/ncursesw; then
CPPFLAGS="$CPPFLAGS -I/usr/include/ncursesw"
fi
@@ -12,7 +12,7 @@
ac_widec_possible=no
AC_CHECK_LIB(ncurses, initscr,
[LIBS="$LIBS -lncurses"
-+ AC_SEARCH_LIBS(cbreak, tinfo)
++ AC_SEARCH_LIBS(cbreak, tinfo, LIBS="$LIBS -ltinfo")
if test x$abook_cv_curses = x/usr -a -d /usr/include/ncurses; then
CPPFLAGS="$CPPFLAGS -I/usr/include/ncurses"
fi
diff --git a/app-misc/abook/files/abook-0.6.1-vformat.patch b/app-misc/abook/files/abook-0.6.1-vformat.patch
new file mode 100644
index 000000000000..0808852e6b20
--- /dev/null
+++ b/app-misc/abook/files/abook-0.6.1-vformat.patch
@@ -0,0 +1,11 @@
+diff -ru abook-0.6.1.orig/configure.ac abook-0.6.1/configure.ac
+--- abook-0.6.1.orig/configure.ac 2020-05-24 19:10:09.826143646 +0200
++++ abook-0.6.1/configure.ac 2020-05-24 19:10:52.088381318 +0200
+@@ -140,6 +140,7 @@
+ if test x$vformat = xtrue; then
+ AC_CHECK_HEADER([vf_iface.h], [
+ AC_CHECK_LIB([vformat], [vf_read_file], [
++ LIBS="$LIBS -lvformat"
+ MODULES="$MODULES m_vcf"
+ AC_DEFINE(HAVE_VFORMAT,1,[Defined if the vformat library is available])
+ have_vformat=yes