summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-emulation/libguestfs/files/1.32/0002_tinfo_fix.patch')
-rw-r--r--app-emulation/libguestfs/files/1.32/0002_tinfo_fix.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/app-emulation/libguestfs/files/1.32/0002_tinfo_fix.patch b/app-emulation/libguestfs/files/1.32/0002_tinfo_fix.patch
new file mode 100644
index 0000000..7c0ce28
--- /dev/null
+++ b/app-emulation/libguestfs/files/1.32/0002_tinfo_fix.patch
@@ -0,0 +1,13 @@
+diff --git a/m4/guestfs_misc_libraries.m4 b/m4/guestfs_misc_libraries.m4
+index 9b22670..3f81396 100644
+--- a/m4/guestfs_misc_libraries.m4
++++ b/m4/guestfs_misc_libraries.m4
+@@ -50,7 +50,7 @@ AC_ARG_WITH([readline],[
+ LIBREADLINE=
+ AS_IF([test "x$with_readline" != xno],[
+ AC_CHECK_LIB([readline], [main],
+- [AC_SUBST([LIBREADLINE], ["-lreadline -lncurses"])
++ [AC_SUBST([LIBREADLINE], ["-lreadline -lncurses $LIBTINFO_LIBS"])
+ AC_DEFINE([HAVE_LIBREADLINE], [1],
+ [Define if you have libreadline.])
+ ],