From 159991c50d2ca59aaa492a25367d1bb36b8d05b7 Mon Sep 17 00:00:00 2001 From: hosxy Date: Sun, 6 Sep 2020 13:13:50 +0800 Subject: [PATCH] Update Dockerfile.mingw_x64.patch --- Dockerfile.mingw_x64.patch | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile.mingw_x64.patch b/Dockerfile.mingw_x64.patch index db7d7f2..d7b3eb7 100644 --- a/Dockerfile.mingw_x64.patch +++ b/Dockerfile.mingw_x64.patch @@ -15,7 +15,7 @@ # It would be better to use nearest ubuntu archive mirror for faster # downloads. -@@ -106,6 +106,8 @@ +@@ -106,6 +106,9 @@ LIBS="-lws2_32" && \ make install ADD https://api.github.com/repos/aria2/aria2/git/refs/heads/master version.json @@ -23,7 +23,8 @@ - cd aria2 && autoreconf -i && ./mingw-config && make && \ +RUN git clone -b release-1.35.0 https://github.com/aria2/aria2 && \ + cd aria2 && \ -+ patch -Np1 < ../aria2-fast.patch && \ ++ curl -L -o aria2-fast.patch "https://raw.githubusercontent.com/hosxy/aria2-fast/master/aria2-fast.patch" && \ ++ patch -Np1 < ./aria2-fast.patch && \ + autoreconf -i && ./mingw-config && make && \ $HOST-strip src/aria2c.exe