Since zlib guys move away the tarball after a new release is made, we
add the mirror at the libpng site. Same as in ptxdist itself.

Something for the stable branch?

Signed-off-by: Bernhard Walle <[email protected]>
---
 rules/host-zlib.make | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/rules/host-zlib.make b/rules/host-zlib.make
index 8a11c73..8ab59b0 100644
--- a/rules/host-zlib.make
+++ b/rules/host-zlib.make
@@ -21,7 +21,9 @@ HOST_ZLIB_VERSION     := 1.2.7
 HOST_ZLIB_MD5          := 2ab442d169156f34c379c968f3f482dd
 HOST_ZLIB              := zlib-$(HOST_ZLIB_VERSION)
 HOST_ZLIB_SUFFIX       := tar.bz2
-HOST_ZLIB_URL          := http://zlib.net/$(HOST_ZLIB).$(HOST_ZLIB_SUFFIX)
+HOST_ZLIB_URL          := \
+       http://zlib.net/$(HOST_ZLIB).$(HOST_ZLIB_SUFFIX) \
+       $(call ptx/mirror, SF, libpng/$(HOST_ZLIB).$(HOST_ZLIB_SUFFIX))
 HOST_ZLIB_SOURCE       := $(SRCDIR)/$(HOST_ZLIB).$(HOST_ZLIB_SUFFIX)
 HOST_ZLIB_DIR          := $(HOST_BUILDDIR)/$(HOST_ZLIB)
 
-- 
1.8.3


Reply via email to