diff -Nru libvirt-0.9.8/debian/changelog libvirt-0.9.8/debian/changelog --- libvirt-0.9.8/debian/changelog 2013-10-14 15:33:05.000000000 +0000 +++ libvirt-0.9.8/debian/changelog 2013-11-08 09:30:47.000000000 +0000 @@ -1,3 +1,10 @@ +libvirt (0.9.8-2ubuntu17.16) precise; urgency=low + + * d/p/ubuntu/properly-parse-unsigned-long-long.patch: fix i386 Python + binding integer length mismatch for long longs (LP: #1248394). + + -- Robie Basak Fri, 08 Nov 2013 09:30:15 +0000 + libvirt (0.9.8-2ubuntu17.15) precise-proposed; urgency=low * update fix-for-parallel-port-passthrough-for-qemu: the xml for the new diff -Nru libvirt-0.9.8/debian/patches/series libvirt-0.9.8/debian/patches/series --- libvirt-0.9.8/debian/patches/series 2013-10-11 13:08:25.000000000 +0000 +++ libvirt-0.9.8/debian/patches/series 2013-11-08 09:20:06.000000000 +0000 @@ -52,3 +52,4 @@ fix-for-parallel-port-passthrough-for-qemu qemu-delete-usb-devices-on-stop qemu-build-activeusbhostdevs-on-reconnect +ubuntu/properly-parse-unsigned-long-long.patch diff -Nru libvirt-0.9.8/debian/patches/ubuntu/properly-parse-unsigned-long-long.patch libvirt-0.9.8/debian/patches/ubuntu/properly-parse-unsigned-long-long.patch --- libvirt-0.9.8/debian/patches/ubuntu/properly-parse-unsigned-long-long.patch 1970-01-01 00:00:00.000000000 +0000 +++ libvirt-0.9.8/debian/patches/ubuntu/properly-parse-unsigned-long-long.patch 2013-11-08 09:25:31.000000000 +0000 @@ -0,0 +1,29 @@ +From d78035d06aab73a76a82c525f41580cf986cce7b Mon Sep 17 00:00:00 2001 +From: Guido Günther +Date: Sat, 13 Oct 2012 01:05:40 +0200 +Subject: [PATCH] Properly parse (unsigned) long long + +This fixes problems on platforms where sizeof(long) != sizeof(long long) +like ia32. + +Origin: backport, http://libvirt.org/git/?p=libvirt.git;a=commit;h=d78035d06aab73a76a82c525f41580cf986cce7b +Bug-Ubuntu: https://launchpad.net/bugs/1248394 +Last-Update: 2013-11-08 +Backported-by: Robie Basak + +Backported to 0.9.8 by dropping one other changed line in the same hunk. +--- + python/generator.py | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +--- a/python/generator.py ++++ b/python/generator.py +@@ -258,7 +258,7 @@ + 'double': ('d', None, "double", "double"), + 'unsigned int': ('i', None, "int", "int"), + 'unsigned long': ('l', None, "long", "long"), +- 'unsigned long long': ('l', None, "longlong", "long long"), ++ 'unsigned long long': ('L', None, "longlong", "long long"), + 'unsigned char *': ('z', None, "charPtr", "char *"), + 'char *': ('z', None, "charPtr", "char *"), + 'const char *': ('z', None, "charPtrConst", "const char *"),