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