From dd4d19fce2296aaadd4443f8f8551f2f8e5aa7a4 Mon Sep 17 00:00:00 2001 From: Chris Packham Date: Thu, 21 Apr 2022 15:30:55 +1200 Subject: zlib: Update to zlib-1.2.12 Bring in the following changes - Fix a deflate bug when using the Z_FIXED strategy that can result in out-of-bound accesses. - Fix a deflate bug when the window is full in deflate_stored(). - Speed up CRC-32 computations by a factor of 1.5 to 3. - Use the hardware CRC-32 instruction on ARMv8 processors. - Speed up crc32_combine() with powers of x tables. - Add crc32_combine_gen() and crc32_combine_op() for fast combines. Drop two patches that have been applied upstream and regenerate the remaining two. Fixes #1708 Signed-off-by: Chris Packham --- packages/zlib/1.2.11/0000-make-check-fail.patch | 37 ------------------------- 1 file changed, 37 deletions(-) delete mode 100644 packages/zlib/1.2.11/0000-make-check-fail.patch (limited to 'packages/zlib/1.2.11/0000-make-check-fail.patch') diff --git a/packages/zlib/1.2.11/0000-make-check-fail.patch b/packages/zlib/1.2.11/0000-make-check-fail.patch deleted file mode 100644 index 203a5178..00000000 --- a/packages/zlib/1.2.11/0000-make-check-fail.patch +++ /dev/null @@ -1,37 +0,0 @@ -'make check' should return with non-zero status - -... if the test fails. - ---- - Makefile.in | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - ---- a/Makefile.in -+++ b/Makefile.in -@@ -91,7 +91,7 @@ - echo ' *** zlib test OK ***'; \ - else \ - echo ' *** zlib test FAILED ***'; false; \ -- fi; \ -+ fi - rm -f $$TMPST - - testshared: shared -@@ -104,7 +104,7 @@ - echo ' *** zlib shared test OK ***'; \ - else \ - echo ' *** zlib shared test FAILED ***'; false; \ -- fi; \ -+ fi - rm -f $$TMPSH - - test64: all64 -@@ -113,7 +113,7 @@ - echo ' *** zlib 64-bit test OK ***'; \ - else \ - echo ' *** zlib 64-bit test FAILED ***'; false; \ -- fi; \ -+ fi - rm -f $$TMP64 - - infcover.o: $(SRCDIR)test/infcover.c $(SRCDIR)zlib.h zconf.h -- cgit v1.2.3