aboutsummaryrefslogtreecommitdiff
path: root/tools/depends/target/zlib
diff options
context:
space:
mode:
authorcraigcarnell <craig_carnell@hotmail.com>2023-01-18 18:54:00 +0000
committercraigcarnell <craig_carnell@hotmail.com>2023-02-19 14:29:44 +0000
commit5ae71ab559b9d0b6532726969127ff9442111785 (patch)
treee5fded260b43afa70fe57d4f292cf82d3691aa2a /tools/depends/target/zlib
parent4ec72a42ab8590c113696adb539df54f65d8df37 (diff)
Update zlib to 1.2.13
Diffstat (limited to 'tools/depends/target/zlib')
-rw-r--r--tools/depends/target/zlib/01-all-disable_tests.patch7
-rw-r--r--tools/depends/target/zlib/02-all-static_only.patch2
-rw-r--r--tools/depends/target/zlib/ZLIB-VERSION4
3 files changed, 6 insertions, 7 deletions
diff --git a/tools/depends/target/zlib/01-all-disable_tests.patch b/tools/depends/target/zlib/01-all-disable_tests.patch
index 55de6a471d..531938c939 100644
--- a/tools/depends/target/zlib/01-all-disable_tests.patch
+++ b/tools/depends/target/zlib/01-all-disable_tests.patch
@@ -1,15 +1,14 @@
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
-@@ -229,7 +229,7 @@
- #============================================================================
+@@ -194,6 +194,7 @@
# Example binaries
#============================================================================
--
+
+if(ENABLE_TESTS)
add_executable(example test/example.c)
target_link_libraries(example zlib)
add_test(example example)
-@@ -247,3 +247,4 @@
+@@ -211,3 +212,4 @@
target_link_libraries(minigzip64 zlib)
set_target_properties(minigzip64 PROPERTIES COMPILE_FLAGS "-D_FILE_OFFSET_BITS=64")
endif()
diff --git a/tools/depends/target/zlib/02-all-static_only.patch b/tools/depends/target/zlib/02-all-static_only.patch
index baef9bbb20..ba9d147eb7 100644
--- a/tools/depends/target/zlib/02-all-static_only.patch
+++ b/tools/depends/target/zlib/02-all-static_only.patch
@@ -1,6 +1,6 @@
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
-@@ -211,7 +211,7 @@
+@@ -175,7 +175,7 @@
endif()
if(NOT SKIP_INSTALL_LIBRARIES AND NOT SKIP_INSTALL_ALL )
diff --git a/tools/depends/target/zlib/ZLIB-VERSION b/tools/depends/target/zlib/ZLIB-VERSION
index c609cbe9bb..e988128a41 100644
--- a/tools/depends/target/zlib/ZLIB-VERSION
+++ b/tools/depends/target/zlib/ZLIB-VERSION
@@ -1,5 +1,5 @@
LIBNAME=zlib
-VERSION=1.2.12
+VERSION=1.2.13
ARCHIVE=$(LIBNAME)-$(VERSION).tar.xz
-SHA512=12940e81e988f7661da52fa20bdc333314ae86a621fdb748804a20840b065a1d6d984430f2d41f3a057de0effc6ff9bcf42f9ee9510b88219085f59cbbd082bd
+SHA512=9e7ac71a1824855ae526506883e439456b74ac0b811d54e94f6908249ba8719bec4c8d7672903c5280658b26cb6b5e93ecaaafe5cdc2980c760fa196773f0725
BYPRODUCT=libz.a