Hello community, here is the log from the commit of package libzip for openSUSE:Factory checked in at 2014-11-02 16:45:53 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libzip (Old) and /work/SRC/openSUSE:Factory/.libzip.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "libzip" Changes: -------- --- /work/SRC/openSUSE:Factory/libzip/libzip.changes 2014-06-19 13:20:03.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.libzip.new/libzip.changes 2014-11-02 16:45:59.000000000 +0100 @@ -1,0 +2,14 @@ +Wed Oct 29 15:13:50 UTC 2014 - opensuse@sukimashita.com + +- add libzip-fseeko.patch which changes two fseek() calls that + were not replaced with fseeko() to properly support large files +- properly mark patches as PATCH-FIX-UPSTREAM where it applies + +------------------------------------------------------------------- +Wed Oct 22 23:59:02 CET 2014 - opensuse@sukimashita.com + +- add libzip-fix-large-file-support.patch to fix LFS support not + being activated for 32bit compilation and thus >2GB Zip files + failing to open + +------------------------------------------------------------------- New: ---- libzip-fix-large-file-support.patch libzip-fseeko.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libzip.spec ++++++ --- /var/tmp/diff_new_pack.Sl5flY/_old 2014-11-02 16:46:01.000000000 +0100 +++ /var/tmp/diff_new_pack.Sl5flY/_new 2014-11-02 16:46:01.000000000 +0100 @@ -43,6 +43,10 @@ Patch1: libzip-ocloexec.patch #PATCH-FIX-OPENSUSE: deprecate old autoconf macros Patch2: libzip-autoconf-268.patch +# PATCH-FIX-UPSTREAM libzip-fix-large-file-support.patch http://www.nih.at/listarchive/libzip-discuss/msg00472.html m.szulecki@libimobiledevice.org -- fix large file support for 32bit arch +Patch3: libzip-fix-large-file-support.patch +# PATCH-FIX-UPSTREAM libzip-fseeko.patch http://www.nih.at/listarchive/libzip-discuss/msg00472.html m.szulecki@libimobiledevice.org -- use fseeko instead of fseek to fix large file support +Patch4: libzip-fseeko.patch %description libzip is a C library for reading, creating, and modifying zip @@ -77,6 +81,8 @@ %setup -q %patch1 -p1 %patch2 -p1 +%patch3 -p1 +%patch4 -p0 %build autoreconf -fiv ++++++ libzip-fix-large-file-support.patch ++++++ ++++ 755 lines (skipped) ++++++ libzip-fseeko.patch ++++++ diff -up lib/zip_dirent.c.orig lib/zip_dirent.c --- lib/zip_dirent.c.orig 2013-11-28 17:57:10.000000000 +0100 +++ lib/zip_dirent.c 2014-10-09 23:22:36.611473504 +0200 @@ -548,7 +548,7 @@ _zip_dirent_size(FILE *f, zip_uint16_t f size = local ? LENTRYSIZE : CDENTRYSIZE; - if (fseek(f, local ? 26 : 28, SEEK_CUR) < 0) { + if (fseeko(f, local ? 26 : 28, SEEK_CUR) < 0) { _zip_error_set(error, ZIP_ER_SEEK, errno); return -1; } diff -up lib/zip_extra_field.c.orig lib/zip_extra_field.c --- lib/zip_extra_field.c.orig 2013-09-22 11:35:53.000000000 +0200 +++ lib/zip_extra_field.c 2014-10-09 23:23:25.363470056 +0200 @@ -355,7 +355,7 @@ _zip_read_local_ef(struct zip *za, zip_u struct zip_extra_field *ef; zip_uint8_t *ef_raw; - if (fseek(za->zp, fname_len, SEEK_CUR) < 0) { + if (fseeko(za->zp, fname_len, SEEK_CUR) < 0) { _zip_error_set(&za->error, ZIP_ER_SEEK, errno); return -1; } -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org