From 0a46959ef7509dbd441b04412fdfa46684005c7d Mon Sep 17 00:00:00 2001 From: Alexei Mikhailov Date: Mon, 2 Jan 2017 17:05:51 +0200 Subject: [PATCH] Push zlib version to 1.2.9 Also fetch it from github releases rather than site directly; those releases won't suddenly disappear. --- bin/compile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/compile b/bin/compile index 7c651c7..b65f1ba 100755 --- a/bin/compile +++ b/bin/compile @@ -8,7 +8,7 @@ PCRE_VERSION="8.39" PCRE_TARBALL="pcre-${PCRE_VERSION}.tar.gz" SIGIL_VERSION="0.4.0" SIGIL_TARBALL="sigil_${SIGIL_VERSION}_Linux_x86_64.tgz" -ZLIB_VERSION="1.2.8" +ZLIB_VERSION="1.2.9" ZLIB_TARBALL="zlib-${ZLIB_VERSION}.tar.gz" suppress() { @@ -60,7 +60,7 @@ fi if [[ ! -d "${ZLIB_TARBALL%.tar.gz}" ]]; then echo "-----> Download and unzip zlib" - curl -sSL "http://zlib.net/${ZLIB_TARBALL}" -o "${ZLIB_TARBALL}" + curl -sSL "https://github.com/madler/zlib/archive/v${ZLIB_VERSION}.tar.gz" -o "${ZLIB_TARBALL}" tar xzf "${ZLIB_TARBALL}" && rm -rf "${ZLIB_TARBALL}" fi