From 6f72f7448126909c2e824630c02dc684564eb36b Mon Sep 17 00:00:00 2001 From: Justin Riley Date: Sat, 13 Feb 2016 01:26:18 -0500 Subject: add patches for libguestfs 1.32 --- .../1.32/0001_add_gentooway_to_remove_la_files.patch | 16 ++++++++++++++++ app-emulation/libguestfs/files/1.32/0002_tinfo_fix.patch | 13 +++++++++++++ 2 files changed, 29 insertions(+) create mode 100644 app-emulation/libguestfs/files/1.32/0001_add_gentooway_to_remove_la_files.patch create mode 100644 app-emulation/libguestfs/files/1.32/0002_tinfo_fix.patch (limited to 'app-emulation') diff --git a/app-emulation/libguestfs/files/1.32/0001_add_gentooway_to_remove_la_files.patch b/app-emulation/libguestfs/files/1.32/0001_add_gentooway_to_remove_la_files.patch new file mode 100644 index 0000000..ea91472 --- /dev/null +++ b/app-emulation/libguestfs/files/1.32/0001_add_gentooway_to_remove_la_files.patch @@ -0,0 +1,16 @@ +diff --git a/configure.ac b/configure.ac +index b793dbe..8d2398d 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -126,8 +126,9 @@ m4_include([m4/guestfs_bash_completion.m4]) + + dnl Replace libtool with a wrapper that clobbers dependency_libs in *.la files + dnl http://lists.fedoraproject.org/pipermail/devel/2010-November/146343.html +-LIBTOOL='bash $(top_srcdir)/libtool-kill-dependency_libs.sh $(top_builddir)/libtool' +-AC_SUBST([LIBTOOL]) ++dnl LIBTOOL='bash $(top_srcdir)/libtool-kill-dependency_libs.sh $(top_builddir)/libtool' ++dnl AC_SUBST([LIBTOOL]) ++LT_INIT + + dnl Work around autoconf's lack of expanded variables. + eval my_sysconfdir="\"[$]sysconfdir\"" 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.]) + ], -- cgit v1.2.3-65-gdbad