diff --git a/srcpkgs/libvirt/patches/socket-url-arguments.patch b/srcpkgs/libvirt/patches/socket-url-arguments.patch new file mode 100644 index 0000000000..a734bfd29f --- /dev/null +++ b/srcpkgs/libvirt/patches/socket-url-arguments.patch @@ -0,0 +1,22 @@ +diff --git src/remote/remote_daemon.c src/remote/remote_daemon.c +index 546328b24d..5d64397062 100644 +--- src/remote/remote_daemon.c ++++ src/remote/remote_daemon.c +@@ -226,14 +226,14 @@ daemonUnixSocketPaths(struct daemonConfig *config, + + if (config->unix_sock_dir) { + if (virAsprintf(sockfile, "%s/%s-sock", +- SOCK_PREFIX, config->unix_sock_dir) < 0) ++ config->unix_sock_dir, SOCK_PREFIX) < 0) + goto cleanup; + + if (privileged) { + if (virAsprintf(rosockfile, "%s/%s-sock-ro", +- SOCK_PREFIX, config->unix_sock_dir) < 0 || ++ config->unix_sock_dir, SOCK_PREFIX) < 0 || + virAsprintf(admsockfile, "%s/%s-admin-sock", +- SOCK_PREFIX, config->unix_sock_dir) < 0) ++ config->unix_sock_dir, SOCK_PREFIX) < 0) + goto cleanup; + } + } else { diff --git a/srcpkgs/libvirt/template b/srcpkgs/libvirt/template index 123b9ee6a4..0e7f8df0e1 100644 --- a/srcpkgs/libvirt/template +++ b/srcpkgs/libvirt/template @@ -1,7 +1,7 @@ # Template file for 'libvirt' pkgname=libvirt version=5.7.0 -revision=1 +revision=2 build_style=gnu-configure configure_args="--without-hal --with-storage-lvm --with-qemu --with-qemu-user=libvirt --with-qemu-group=libvirt --without-netcf