forked from pool/libvirt
Fix build when using older PolicyKit
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=171
This commit is contained in:
parent
83820260d9
commit
dc6d29408a
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Nov 15 15:05:36 MST 2011 - jfehlig@suse.com
|
||||||
|
|
||||||
|
- Fix build when using older PolicyKit
|
||||||
|
polkit0.patch
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Nov 9 18:52:18 MST 2011 - jfehlig@suse.com
|
Wed Nov 9 18:52:18 MST 2011 - jfehlig@suse.com
|
||||||
|
|
||||||
|
@ -380,6 +380,7 @@ Source1: libvirtd.init
|
|||||||
Source2: libvirtd-relocation-server.fw
|
Source2: libvirtd-relocation-server.fw
|
||||||
Source99: baselibs.conf
|
Source99: baselibs.conf
|
||||||
# Upstream patches
|
# Upstream patches
|
||||||
|
Patch0: polkit0.patch
|
||||||
# Need to go upstream
|
# Need to go upstream
|
||||||
Patch100: xen-name-for-devid.patch
|
Patch100: xen-name-for-devid.patch
|
||||||
Patch101: clone.patch
|
Patch101: clone.patch
|
||||||
@ -502,6 +503,7 @@ Authors:
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
%patch0 -p1
|
||||||
%patch100 -p1
|
%patch100 -p1
|
||||||
%patch101
|
%patch101
|
||||||
%patch102 -p1
|
%patch102 -p1
|
||||||
|
15
polkit0.patch
Normal file
15
polkit0.patch
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
Index: libvirt-0.9.7/daemon/Makefile.am
|
||||||
|
===================================================================
|
||||||
|
--- libvirt-0.9.7.orig/daemon/Makefile.am
|
||||||
|
+++ libvirt-0.9.7/daemon/Makefile.am
|
||||||
|
@@ -156,6 +156,10 @@ endif
|
||||||
|
if WITH_NWFILTER
|
||||||
|
libvirtd_LDADD += ../src/libvirt_driver_nwfilter.la
|
||||||
|
endif
|
||||||
|
+
|
||||||
|
+if HAVE_POLKIT0
|
||||||
|
+libvirtd_LDADD += ../src/libvirt_driver_remote.la
|
||||||
|
+endif
|
||||||
|
endif
|
||||||
|
|
||||||
|
libvirtd_LDADD += ../src/libvirt.la
|
@ -230,7 +230,7 @@ Index: libvirt-0.9.7/daemon/Makefile.am
|
|||||||
===================================================================
|
===================================================================
|
||||||
--- libvirt-0.9.7.orig/daemon/Makefile.am
|
--- libvirt-0.9.7.orig/daemon/Makefile.am
|
||||||
+++ libvirt-0.9.7/daemon/Makefile.am
|
+++ libvirt-0.9.7/daemon/Makefile.am
|
||||||
@@ -236,20 +236,12 @@ install-logrotate: $(LOGROTATE_CONFS)
|
@@ -240,20 +240,12 @@ install-logrotate: $(LOGROTATE_CONFS)
|
||||||
|
|
||||||
if LIBVIRT_INIT_SCRIPT_RED_HAT
|
if LIBVIRT_INIT_SCRIPT_RED_HAT
|
||||||
install-init: libvirtd.init
|
install-init: libvirtd.init
|
||||||
|
Loading…
Reference in New Issue
Block a user