changeset 5058:8b6fba09a282

* src/agg.mk: use archived webpages
author John Donoghue
date Wed, 24 Apr 2019 09:46:27 -0400
parents 893eb6b89b87
children fc3a52e36678
files src/agg.mk
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/agg.mk	Fri Apr 19 17:34:13 2019 -0400
+++ b/src/agg.mk	Wed Apr 24 09:46:27 2019 -0400
@@ -7,12 +7,12 @@
 $(PKG)_CHECKSUM := 08f23da64da40b90184a0414369f450115cdb328
 $(PKG)_SUBDIR   := agg-$($(PKG)_VERSION)
 $(PKG)_FILE     := agg-$($(PKG)_VERSION).tar.gz
-$(PKG)_URL      := http://www.antigrain.com/$($(PKG)_FILE)
+$(PKG)_URL      := https://web.archive.org/20150812005010/http://www.antigrain.com/$($(PKG)_FILE)
 $(PKG)_DEPS     := freetype sdl
 
 define $(PKG)_UPDATE
-    $(WGET) -q -O- 'http://www.antigrain.com/download/index.html' | \
-    $(SED) -n 's,.*<A href="http://www.antigrain.com/agg-\([0-9.]*\).tar.gz".*,\1,p' | \
+    $(WGET) -q -O- 'https://web.archive.org/20150812005010/http://www.antigrain.com/download/index.html' | \
+    $(SED) -n 's,.*www.antigrain.com/agg-\([0-9.]*\).tar.gz".*,\1,p' | \
     head -1
 endef