tags 653893 + pending
thanks

Dear maintainer,

I've prepared an NMU for ideviceinstaller (versioned as 1.0.0-1.1) and
uploaded it to DELAYED/2. Please feel free to tell me if I
should delay it longer.

Regards.
diff -Nru ideviceinstaller-1.0.0/debian/changelog 
ideviceinstaller-1.0.0/debian/changelog
--- ideviceinstaller-1.0.0/debian/changelog     2011-03-20 02:14:57.000000000 
+0100
+++ ideviceinstaller-1.0.0/debian/changelog     2012-01-20 20:33:10.000000000 
+0100
@@ -1,3 +1,12 @@
+ideviceinstaller (1.0.0-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Fix build failure with libzip-0.10. (Closes: #653893)
+    Thanks to Fathi Boudra <f...@debian.org> for the patch.
+    + new patch: 653893-libzip-0.10.patch
+
+ -- Ansgar Burchardt <ans...@debian.org>  Fri, 20 Jan 2012 20:32:30 +0100
+
 ideviceinstaller (1.0.0-1) unstable; urgency=low
 
   * Initial release. Closes: #618973
diff -Nru ideviceinstaller-1.0.0/debian/patches/653893-libzip-0.10.patch 
ideviceinstaller-1.0.0/debian/patches/653893-libzip-0.10.patch
--- ideviceinstaller-1.0.0/debian/patches/653893-libzip-0.10.patch      
1970-01-01 01:00:00.000000000 +0100
+++ ideviceinstaller-1.0.0/debian/patches/653893-libzip-0.10.patch      
2012-01-20 20:31:14.000000000 +0100
@@ -0,0 +1,20 @@
+Description: fix build failure with libzip 0.10
+ zip_fread returns signed int64 while zip_stat size is an unsigned int64.
+From: Fathi Boudra <f...@debian.org>
+Bug-Debian: http://bugs.debian.org/653893
+
+---
+ src/ideviceinstaller.c |    2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- a/src/ideviceinstaller.c
++++ b/src/ideviceinstaller.c
+@@ -161,7 +161,7 @@ static int zip_f_get_contents(struct zip
+       }
+ 
+       *buffer = malloc(zs.size);
+-      if (zip_fread(zfile, *buffer, zs.size) != zs.size) {
++      if (zs.size>LLONG_MAX || zip_fread(zfile, *buffer, zs.size) != 
(zip_int64_t)zs.size) {
+               fprintf(stderr, "ERROR: zip_fread %ld bytes from '%s'\n", 
zs.size, filename);
+               free(*buffer);
+               *buffer = NULL;
diff -Nru ideviceinstaller-1.0.0/debian/patches/series 
ideviceinstaller-1.0.0/debian/patches/series
--- ideviceinstaller-1.0.0/debian/patches/series        2011-03-20 
01:56:41.000000000 +0100
+++ ideviceinstaller-1.0.0/debian/patches/series        2012-01-20 
20:30:35.000000000 +0100
@@ -1 +1,2 @@
 01-fix-manpage.patch
+653893-libzip-0.10.patch



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to