tags 656938 + pending thanks Dear maintainer,
I've prepared an NMU for ideviceinstaller (versioned as 1.0.0-1.2) 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 2012-01-20 20:33:10.000000000 +0100 +++ ideviceinstaller-1.0.0/debian/changelog 2012-02-07 10:23:59.000000000 +0100 @@ -1,3 +1,13 @@ +ideviceinstaller (1.0.0-1.2) unstable; urgency=low + + * Non-maintainer upload. + * Fix build failure on architectures where sizeof(long) is 4. + (Closes: #656938) + Thanks to peter green <[email protected]> for the patch. + + updated patch: 653893-libzip-0.10.patch + + -- Ansgar Burchardt <[email protected]> Tue, 07 Feb 2012 10:10:12 +0100 + ideviceinstaller (1.0.0-1.1) unstable; urgency=low * Non-maintainer upload. 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 2012-01-20 20:31:14.000000000 +0100 +++ ideviceinstaller-1.0.0/debian/patches/653893-libzip-0.10.patch 2012-02-07 10:08:01.000000000 +0100 @@ -2,19 +2,19 @@ zip_fread returns signed int64 while zip_stat size is an unsigned int64. From: Fathi Boudra <[email protected]> Bug-Debian: http://bugs.debian.org/653893 +From: peter green <[email protected]> +Bug-Debian: http://bugs.debian.org/656938 ---- - 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 +--- ideviceinstaller.orig/src/ideviceinstaller.c ++++ ideviceinstaller/src/ideviceinstaller.c +@@ -161,8 +161,8 @@ } *buffer = malloc(zs.size); - if (zip_fread(zfile, *buffer, zs.size) != zs.size) { +- fprintf(stderr, "ERROR: zip_fread %ld bytes from '%s'\n", zs.size, filename); + 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); ++ fprintf(stderr, "ERROR: zip_fread %llu bytes from '%s'\n", (unsigned long long)(zs.size), filename); free(*buffer); *buffer = NULL; + zip_fclose(zfile); -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

