turns out that patch was more harmful than helping
Thierry Parmentelat [Tue, 16 Apr 2013 19:30:02 +0000 (21:30 +0200)]
libvirt.spec
virgetlasterror.patch [deleted file]

index 92e2f4c..75089b5 100644 (file)
@@ -384,7 +384,7 @@ URL: http://libvirt.org/
     %define mainturl stable_updates/
 %endif
 Source: http://libvirt.org/sources/%{?mainturl}libvirt-%{version}.tar.gz
-Patch1: virgetlasterror.patch
+#Patch1: virgetlasterror.patch
 
 %if %{with_libvirtd}
 Requires: libvirt-daemon = %{version}-%{release}
@@ -1115,7 +1115,7 @@ of recent versions of Linux (and other OSes).
 
 %prep
 %setup -q
-%patch1 -p1
+#%patch1 -p1
 
 %build
 %if ! %{with_xen}
diff --git a/virgetlasterror.patch b/virgetlasterror.patch
deleted file mode 100644 (file)
index 9109d58..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/python/libvirt-override.py       2013-04-13 09:47:03.000000000 +0200
-+++ b/python/libvirt-override.py       2013-04-13 09:49:07.000000000 +0200
-@@ -20,7 +20,7 @@
-         # Never call virConnGetLastError().
-         # virGetLastError() is now thread local
--        err = virGetLastError()
-+        err = libvirtmod.virGetLastError()
-         if err is None:
-             msg = defmsg
-         else: