Hello community, here is the log from the commit of package zlib for openSUSE:Factory checked in at 2017-05-24 16:45:25 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/zlib (Old) and /work/SRC/openSUSE:Factory/.zlib.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "zlib" Wed May 24 16:45:25 2017 rev:64 rq:494524 version:1.2.11 Changes: -------- --- /work/SRC/openSUSE:Factory/zlib/zlib.changes 2016-12-17 09:45:27.218112019 +0100 +++ /work/SRC/openSUSE:Factory/.zlib.new/zlib.changes 2017-05-24 16:45:29.699719361 +0200 @@ -1,0 +2,51 @@ +Wed May 10 13:43:08 UTC 2017 - [email protected] + +- Add s390 performance patch (fate#314093): + * zlib-1.2.11-optimized-s390.patch + +------------------------------------------------------------------- +Tue Apr 4 08:31:28 UTC 2017 - [email protected] + +- baselibs.conf: add missing dependencies + +------------------------------------------------------------------- +Mon Jan 16 09:57:59 UTC 2017 - [email protected] + +- Update to version 1.2.11: + * Fix deflate stored bug when pulling last block from window + * Permit immediate deflateParams changes before any deflate input + +------------------------------------------------------------------- +Tue Jan 3 07:41:49 UTC 2017 - [email protected] + +- Update to version 1.2.10: + * Avoid warnings on snprintf() return value + * Fix bug in deflate_stored() for zero-length input + * Fix bug in gzwrite.c that produced corrupt gzip files + * Remove files to be installed before copying them in Makefile.in + * Add warnings when compiling with assembler code + +------------------------------------------------------------------- +Mon Jan 2 09:08:50 UTC 2017 - [email protected] + +- Update to version 1.2.9: + * Improve compress() and uncompress() to support large lengths + * Allow building zlib outside of the source directory + * Fix bug when level 0 used with Z_HUFFMAN or Z_RLE + * Fix bugs in creating a very large gzip header + * Add uncompress2() function, which returns the input size used + * Dramatically speed up deflation for level 0 (storing) + * Add gzfread() and gzfwrite(), duplicating the interfaces of fread() and fwrite() + * Add crc32_z() and adler32_z() functions with size_t lengths + * Many portability improvements +- Drop patches included in upstream: + * zlib-bnc1003577.patch + * zlib-bnc1003579-part2.patch + * zlib-bnc1003579.patch + * zlib-bnc1003580.patch + * zlib-bnc1013882.patch +- Drop zlib-1.2.7-improve-longest_match-performance.patch + * not accepted by upstream for two releases + * rebasing no longer possible + +------------------------------------------------------------------- Old: ---- zlib-1.2.7-improve-longest_match-performance.patch zlib-1.2.8.tar.gz zlib-bnc1003577.patch zlib-bnc1003579-part2.patch zlib-bnc1003579.patch zlib-bnc1003580.patch zlib-bnc1013882.patch New: ---- zlib-1.2.11-optimized-s390.patch zlib-1.2.11.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ zlib.spec ++++++ --- /var/tmp/diff_new_pack.PonTFY/_old 2017-05-24 16:45:32.651303840 +0200 +++ /var/tmp/diff_new_pack.PonTFY/_new 2017-05-24 16:45:32.655303277 +0200 @@ -18,7 +18,7 @@ %bcond_with profiling Name: zlib -Version: 1.2.8 +Version: 1.2.11 Release: 0 Summary: Library implementing the DEFLATE compression algorithm License: Zlib @@ -29,15 +29,9 @@ Source2: baselibs.conf Source3: zlib-rpmlintrc #PATCH-FIX-SUSE: fate#314093, sent upstream by IBM -Patch0: zlib-1.2.7-improve-longest_match-performance.patch +Patch0: zlib-1.2.11-optimized-s390.patch #PATCH-FIX-SUSE: compiler check of varguments passed to gzprintf Patch1: zlib-format.patch -# PATCH-FIX-UPSTREAM: security fixes from upstream git -Patch2: zlib-bnc1003577.patch -Patch3: zlib-bnc1003579-part2.patch -Patch4: zlib-bnc1003579.patch -Patch5: zlib-bnc1003580.patch -Patch6: zlib-bnc1013882.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: libtool @@ -119,13 +113,8 @@ %prep %setup -q -%patch0 -p1 -%patch1 -p1 -%patch2 -p1 -%patch3 -p1 -%patch4 -p1 -%patch5 -p1 -%patch6 -p1 +%patch0 +%patch1 %build export LDFLAGS="-Wl,-z,relro,-z,now" ++++++ baselibs.conf ++++++ --- /var/tmp/diff_new_pack.PonTFY/_old 2017-05-24 16:45:32.703296520 +0200 +++ /var/tmp/diff_new_pack.PonTFY/_new 2017-05-24 16:45:32.707295958 +0200 @@ -3,4 +3,7 @@ provides "zlib-<targettype> = <version>" obsoletes "zlib-<targettype> <= 1.2.8" zlib-devel + requires "glibc-devel-<targettype>" + requires "libz1-<targettype> = <version>" zlib-devel-static + requires "zlib-devel-<targettype> = <version>" ++++++ zlib-1.2.11-optimized-s390.patch ++++++ Index: deflate.c =================================================================== --- deflate.c.orig +++ deflate.c @@ -1233,15 +1233,16 @@ local void lm_init (s) /* For 80x86 and 680x0, an optimized version will be provided in match.asm or * match.S. The code will be functionally equivalent. */ -local uInt longest_match(s, cur_match) +local uInt longest_match(s, pcur_match) deflate_state *s; - IPos cur_match; /* current match */ + IPos pcur_match; /* current match */ { + ptrdiff_t cur_match = pcur_match; /* extend to pointer width */ unsigned chain_length = s->max_chain_length;/* max hash chain length */ register Bytef *scan = s->window + s->strstart; /* current string */ register Bytef *match; /* matched string */ register int len; /* length of current match */ - int best_len = (int)s->prev_length; /* best match length so far */ + ptrdiff_t best_len = s->prev_length; /* best match length so far */ int nice_match = s->nice_match; /* stop if match long enough */ IPos limit = s->strstart > (IPos)MAX_DIST(s) ? s->strstart - (IPos)MAX_DIST(s) : NIL; @@ -1256,12 +1257,12 @@ local uInt longest_match(s, cur_match) * Try with and without -DUNALIGNED_OK to check. */ register Bytef *strend = s->window + s->strstart + MAX_MATCH - 1; - register ush scan_start = *(ushf*)scan; - register ush scan_end = *(ushf*)(scan+best_len-1); + register uInt scan_start = *(ushf*)scan; + register uInt scan_end = *(ushf*)(scan+best_len-1); #else register Bytef *strend = s->window + s->strstart + MAX_MATCH; - register Byte scan_end1 = scan[best_len-1]; - register Byte scan_end = scan[best_len]; + register uInt scan_end1 = scan[best_len-1]; + register uInt scan_end = scan[best_len]; #endif /* The code is optimized for HASH_BITS >= 8 and MAX_MATCH-2 multiple of 16. ++++++ zlib-1.2.8.tar.gz -> zlib-1.2.11.tar.gz ++++++ ++++ 15173 lines of diff (skipped) ++++++ zlib-format.patch ++++++ --- /var/tmp/diff_new_pack.PonTFY/_old 2017-05-24 16:45:32.915266680 +0200 +++ /var/tmp/diff_new_pack.PonTFY/_new 2017-05-24 16:45:32.915266680 +0200 @@ -1,12 +1,12 @@ From: [email protected] Subject: supply format arguments to gzprintf(). -Index: zlib-1.2.7/zlib.h +Index: zlib.h =================================================================== ---- zlib-1.2.7.orig/zlib.h 2012-05-03 06:12:35.000000000 +0200 -+++ zlib-1.2.7/zlib.h 2012-09-27 13:12:58.187146312 +0200 -@@ -1329,7 +1329,11 @@ - error. +--- zlib.h.orig ++++ zlib.h +@@ -1464,7 +1464,11 @@ ZEXTERN z_size_t ZEXPORT gzfwrite OF((vo + is returned, and the error state is set to Z_STREAM_ERROR. */ -ZEXTERN int ZEXPORTVA gzprintf Z_ARG((gzFile file, const char *format, ...));
