aboutsummaryrefslogtreecommitdiff
path: root/packages/zlib/1.2.11/0002-mingw-static-only.patch
diff options
context:
space:
mode:
authorChris Packham <judge.packham@gmail.com>2022-04-21 15:30:55 +1200
committerChris Packham <judge.packham@gmail.com>2022-04-22 10:15:41 +1200
commitdd4d19fce2296aaadd4443f8f8551f2f8e5aa7a4 (patch)
tree4f9eef65e0ddaaff305eb6c2a5fcae6ea43501eb /packages/zlib/1.2.11/0002-mingw-static-only.patch
parent7f84b9ab92f5bf3440eecc875e55b9a53127c9c5 (diff)
downloadcrosstool-ng-dd4d19fce2296aaadd4443f8f8551f2f8e5aa7a4.tar.gz
crosstool-ng-dd4d19fce2296aaadd4443f8f8551f2f8e5aa7a4.tar.bz2
crosstool-ng-dd4d19fce2296aaadd4443f8f8551f2f8e5aa7a4.zip
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 <judge.packham@gmail.com>
Diffstat (limited to 'packages/zlib/1.2.11/0002-mingw-static-only.patch')
-rw-r--r--packages/zlib/1.2.11/0002-mingw-static-only.patch28
1 files changed, 0 insertions, 28 deletions
diff --git a/packages/zlib/1.2.11/0002-mingw-static-only.patch b/packages/zlib/1.2.11/0002-mingw-static-only.patch
deleted file mode 100644
index 6d5c89c5..00000000
--- a/packages/zlib/1.2.11/0002-mingw-static-only.patch
+++ /dev/null
@@ -1,28 +0,0 @@
----
- win32/Makefile.gcc | 8 ++++++--
- 1 file changed, 6 insertions(+), 2 deletions(-)
-
---- a/win32/Makefile.gcc
-+++ b/win32/Makefile.gcc
-@@ -71,7 +71,11 @@
- gzwrite.o infback.o inffast.o inflate.o inftrees.o trees.o uncompr.o zutil.o
- OBJA =
-
--all: $(STATICLIB) $(SHAREDLIB) $(IMPLIB) example.exe minigzip.exe example_d.exe minigzip_d.exe
-+all: $(STATICLIB) example.exe minigzip.exe
-+
-+ifeq ($(SHARED_MODE),1)
-+all: $(SHAREDLIB) $(IMPLIB) example_d.exe minigzip_d.exe
-+endif
-
- test: example.exe minigzip.exe
- ./example
-@@ -125,7 +129,7 @@
- .PHONY: install uninstall clean
-
- install: zlib.h zconf.h $(STATICLIB) $(IMPLIB)
-- @if test -z "$(DESTDIR)$(INCLUDE_PATH)" -o -z "$(DESTDIR)$(LIBRARY_PATH)" -o -z "$(DESTDIR)$(BINARY_PATH)"; then \
-+ @if test -z "$(INCLUDE_PATH)" -o -z "$(LIBRARY_PATH)" -o -z "$(BINARY_PATH)"; then \
- echo INCLUDE_PATH, LIBRARY_PATH, and BINARY_PATH must be specified; \
- exit 1; \
- fi