fdroiddata/build/extlib/osmand-zlib-url_145.patch

16 lines
639 B
Diff
Raw Normal View History

Only latest release appears to be hosted on http://zlib.net/
diff --git a/externals/zlib/configure.sh b/externals/zlib/configure.sh
index e6d4103..c35f74c 100755
--- a/externals/zlib/configure.sh
+++ b/externals/zlib/configure.sh
@@ -16,7 +16,7 @@ fi
# Download
echo "Zlib Downloading new upstream..."
-curl -L http://zlib.net/zlib-1.2.7.tar.bz2 > $SRCLOC/upstream.tar.bz2 || { echo "Failed to download!" 1>&2; exit; }
+curl -L http://sourceforge.net/projects/libpng/files/zlib/1.2.7/zlib-1.2.7.tar.bz2/download > $SRCLOC/upstream.tar.bz2 || { echo "Failed to download!" 1>&2; exit; }
# Extract
echo "Zlib Extracting upstream..."