Fix registration bug and endianness issues.
[fedora-mingw.git] / libvirt / mingw32-libvirt-0.4.6-register-remote.patch
diff --git a/libvirt/mingw32-libvirt-0.4.6-register-remote.patch b/libvirt/mingw32-libvirt-0.4.6-register-remote.patch
new file mode 100644 (file)
index 0000000..4d0d77d
--- /dev/null
@@ -0,0 +1,14 @@
+--- libvirt-0.4.6/src/libvirt.c.orig   2008-10-14 15:33:00.000000000 +0100
++++ libvirt-0.4.6/src/libvirt.c        2008-10-14 15:48:54.000000000 +0100
+@@ -297,10 +297,10 @@
+     if (lxcRegister() == -1) return -1;
+ #endif
+     if (storageRegister() == -1) return -1;
++#endif
+ #ifdef WITH_REMOTE
+     if (remoteRegister () == -1) return -1;
+ #endif
+-#endif
+     return(0);
+ }