gentoo-ebuilds/app-misc/abook/files/abook-0.6.1-vformat.patch
Sam James d8ece42cd9
app-misc/abook: cleanup patches
* Drop old tinfo patch
* Tidy vformat patch

Signed-off-by: Sam James <sam@gentoo.org>
Signed-off-by: David Seifert <soap@gentoo.org>
2021-06-18 23:03:30 +02:00

10 lines
336 B
Diff

--- a/configure.ac
+++ b/configure.ac
@@ -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