summaryrefslogtreecommitdiff
path: root/package/libvirt
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-01-12 19:07:20 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2011-01-12 19:07:20 +0100
commit0eae06e5fb400328ae0956aafffcf1b5082c9a15 (patch)
tree7686152246bf0afcdb4696593c5f9a1559e834ea /package/libvirt
parent917da64a3d68249942cb842dbd9e5504d72f9989 (diff)
fix cross-compile under Darwin
Diffstat (limited to 'package/libvirt')
-rw-r--r--package/libvirt/Makefile5
-rw-r--r--package/libvirt/patches/patch-src_storage_storage_backend_c8
2 files changed, 7 insertions, 6 deletions
diff --git a/package/libvirt/Makefile b/package/libvirt/Makefile
index 0db8d6993..03ff483f2 100644
--- a/package/libvirt/Makefile
+++ b/package/libvirt/Makefile
@@ -4,9 +4,9 @@
include ${TOPDIR}/rules.mk
PKG_NAME:= libvirt
-PKG_VERSION:= 0.8.6
+PKG_VERSION:= 0.8.7
PKG_RELEASE:= 1
-PKG_MD5SUM:= 9ed61a02983dc42d0ea0224711ace025
+PKG_MD5SUM:= 596bafb53bb6c079a0703f1726cb2305
PKG_DESCR:= virtualization API
PKG_SECTION:= libs
PKG_DEPENDS:= libxml2 libgnutls python2 libpcap
@@ -28,6 +28,7 @@ CONFIGURE_ARGS+= --without-xen \
--without-openvz \
--without-lxc \
--without-vbox \
+ --without-macvtap \
--disable-silent-rules \
--without-sasl
diff --git a/package/libvirt/patches/patch-src_storage_storage_backend_c b/package/libvirt/patches/patch-src_storage_storage_backend_c
index bab29e4bb..7a1713e7b 100644
--- a/package/libvirt/patches/patch-src_storage_storage_backend_c
+++ b/package/libvirt/patches/patch-src_storage_storage_backend_c
@@ -1,6 +1,6 @@
---- libvirt-0.7.4.orig/src/storage/storage_backend.c 2009-11-10 14:32:15.000000000 +0100
-+++ libvirt-0.7.4/src/storage/storage_backend.c 2009-11-23 22:51:40.000000000 +0100
-@@ -136,7 +136,7 @@ virStorageBackendCopyToFD(virConnectPtr
+--- libvirt-0.8.7.orig/src/storage/storage_backend.c 2010-12-22 09:54:05.000000000 +0100
++++ libvirt-0.8.7/src/storage/storage_backend.c 2011-01-12 18:30:49.000000000 +0100
+@@ -131,7 +131,7 @@ virStorageBackendCopyToFD(virStorageVolD
goto cleanup;
}
@@ -8,4 +8,4 @@
+ memset(&zerobuf, 0, sizeof(zerobuf));
if (VIR_ALLOC_N(buf, bytes) < 0) {
- virReportOOMError(conn);
+ ret = -errno;