summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2022-09-02 12:05:16 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2022-09-23 07:15:05 +0200
commitfaa752a6eebc0c031aa52693297509a1cd832d69 (patch)
tree22a08d06001af6a122bd48de0b9e73dfb3ca8e69
parentba48db8275730fbc512c0872ae426970a09b5619 (diff)
zlib: update to 1.2.12
-rw-r--r--package/zlib/Makefile6
-rw-r--r--package/zlib/patches/patch-configure13
2 files changed, 16 insertions, 3 deletions
diff --git a/package/zlib/Makefile b/package/zlib/Makefile
index 10ba76375..0cb6ba2bf 100644
--- a/package/zlib/Makefile
+++ b/package/zlib/Makefile
@@ -4,9 +4,9 @@
include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= zlib
-PKG_VERSION:= 1.2.11
-PKG_RELEASE:= 2
-PKG_HASH:= 4ff941449631ace0d4d203e3483be9dbc9da454084111f97ea0a2114e19bf066
+PKG_VERSION:= 1.2.12
+PKG_RELEASE:= 1
+PKG_HASH:= 7db46b8d7726232a621befaab4a1c870f00a90805511c0e0090441dac57def18
PKG_DESCR:= implementation of the deflate compression method
PKG_SECTION:= libs/comp
PKG_URL:= http://www.zlib.net/
diff --git a/package/zlib/patches/patch-configure b/package/zlib/patches/patch-configure
new file mode 100644
index 000000000..5455304be
--- /dev/null
+++ b/package/zlib/patches/patch-configure
@@ -0,0 +1,13 @@
+--- zlib-1.2.12.orig/configure 2022-03-28 01:39:42.000000000 +0200
++++ zlib-1.2.12/configure 2022-09-02 12:00:43.434885119 +0200
+@@ -174,7 +174,10 @@ if test -z "$CC"; then
+ else
+ cc=${CROSS_PREFIX}cc
+ fi
++else
++ cc=${CC}
+ fi
++
+ cflags=${CFLAGS-"-O3"}
+ # to force the asm version use: CFLAGS="-O3 -DASMV" ./configure
+ case "$cc" in