From 3ce7bdcd812a953aed0305d6180cc0c649d22be9 Mon Sep 17 00:00:00 2001 From: Ruben Rodriguez <ruben@trisquel.info> Date: Fri, 16 Jun 2017 17:46:58 -0400 Subject: [PATCH] Fixed bug in libvirt --- helpers/make-libvirt | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/helpers/make-libvirt b/helpers/make-libvirt index d22daebe..965577df 100644 --- a/helpers/make-libvirt +++ b/helpers/make-libvirt @@ -17,11 +17,28 @@ # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA # -VERSION=1 +VERSION=2 EXTERNAL='deb-src http://archive.ubuntu.com/ubuntu yakkety-updates main' . ./config +#https://www.redhat.com/archives/libvir-list/2016-August/msg00749.html +patch -p1 << EOF +diff --git a/tools/virsh-secret.c b/tools/virsh-secret.c +index 8588f4c..537bdd7 100644 +--- a/tools/virsh-secret.c ++++ b/tools/virsh-secret.c +@@ -253,7 +253,7 @@ static bool + cmdSecretGetValue(vshControl *ctl, const vshCmd *cmd) + { + virSecretPtr secret; +- char *base64; ++ char *base64 = NULL; + unsigned char *value; + size_t value_size; + bool ret = false; +EOF + sed '/zfsutils/d' -i debian/control sed 's/with-storage-zfs/without-storage-zfs/' -i debian/rules -- GitLab