summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Riley <justin.t.riley@gmail.com>2016-02-13 01:26:18 -0500
committerJustin Riley <justin.t.riley@gmail.com>2016-02-13 01:26:18 -0500
commit6f72f7448126909c2e824630c02dc684564eb36b (patch)
tree0f9a5b6cbfa39bd78d997c69fd05af0e130c840a /app-emulation
parentremove old cmake and nvidia-cuda-sdk (diff)
downloadjtriley-6f72f7448126909c2e824630c02dc684564eb36b.tar.gz
jtriley-6f72f7448126909c2e824630c02dc684564eb36b.tar.bz2
jtriley-6f72f7448126909c2e824630c02dc684564eb36b.zip
add patches for libguestfs 1.32
Diffstat (limited to 'app-emulation')
-rw-r--r--app-emulation/libguestfs/files/1.32/0001_add_gentooway_to_remove_la_files.patch16
-rw-r--r--app-emulation/libguestfs/files/1.32/0002_tinfo_fix.patch13
2 files changed, 29 insertions, 0 deletions
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.])
+ ],