Fix build when using polkit0
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=73
This commit is contained in:
parent
f666bb4e1e
commit
a605ec55ff
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 1 17:27:29 MDT 2010 - jfehlig@novell.com
|
||||
|
||||
- Fix build when using "policy kit 0"
|
||||
polkit0.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 1 16:12:54 MDT 2010 - jfehlig@novell.com
|
||||
|
||||
|
@ -159,6 +159,7 @@ Source1: libvirtd.init
|
||||
Patch0: dc27e089-xen-max-cpu.patch
|
||||
Patch1: b164db62-xen-compile-warnings.patch
|
||||
Patch2: max-cpus-fixup.patch
|
||||
Patch3: polkit0.patch
|
||||
# Need to go upstream
|
||||
Patch100: xen-name-for-devid.patch
|
||||
Patch102: clone.patch
|
||||
@ -273,6 +274,7 @@ Authors:
|
||||
%patch0 -p1
|
||||
%patch1 -p1
|
||||
%patch2 -p1
|
||||
%patch3 -p1
|
||||
%patch100 -p1
|
||||
%patch102
|
||||
%patch103 -p1
|
||||
|
12
polkit0.patch
Normal file
12
polkit0.patch
Normal file
@ -0,0 +1,12 @@
|
||||
Index: libvirt-0.8.5/daemon/remote.c
|
||||
===================================================================
|
||||
--- libvirt-0.8.5.orig/daemon/remote.c
|
||||
+++ libvirt-0.8.5/daemon/remote.c
|
||||
@@ -4152,6 +4152,7 @@ remoteDispatchAuthPolkit (struct qemud_s
|
||||
DBusError err;
|
||||
const char *action;
|
||||
char ident[100];
|
||||
+ int rv;
|
||||
|
||||
memset(ident, 0, sizeof ident);
|
||||
|
Loading…
Reference in New Issue
Block a user