summaryrefslogtreecommitdiff
path: root/system/zlib/fix-configure-issue.patch
diff options
context:
space:
mode:
authorZach van Rijn <me@zv.io>2022-04-19 15:41:37 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2022-05-01 17:05:56 -0500
commit35890573a59b72293977841f74ef998c8d77bd20 (patch)
tree0771a91056253f9b10c4b01d6c8e632d29fd32a3 /system/zlib/fix-configure-issue.patch
parente40c6b39b7390c91c055bd1f5443d71450bca925 (diff)
downloadpackages-35890573a59b72293977841f74ef998c8d77bd20.tar.gz
packages-35890573a59b72293977841f74ef998c8d77bd20.tar.bz2
packages-35890573a59b72293977841f74ef998c8d77bd20.tar.xz
packages-35890573a59b72293977841f74ef998c8d77bd20.zip
system/zlib: bump { 1.2.11 --> 1.2.12 }. fixes #527, #528, #529. become maintainer.
Diffstat (limited to 'system/zlib/fix-configure-issue.patch')
-rw-r--r--system/zlib/fix-configure-issue.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/system/zlib/fix-configure-issue.patch b/system/zlib/fix-configure-issue.patch
new file mode 100644
index 000000000..0136071ea
--- /dev/null
+++ b/system/zlib/fix-configure-issue.patch
@@ -0,0 +1,24 @@
+From 05796d3d8d5546cf1b4dfe2cd72ab746afae505d Mon Sep 17 00:00:00 2001
+From: Mark Adler <madler@alumni.caltech.edu>
+Date: Mon, 28 Mar 2022 18:34:10 -0700
+Subject: [PATCH] Fix configure issue that discarded provided CC definition.
+
+---
+ configure | 3 +++
+ 1 file changed, 3 insertions(+)
+
+diff --git a/configure b/configure
+index 52ff4a04e..3fa3e8618 100755
+--- a/configure
++++ b/configure
+@@ -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