Skip to content

Commit

Permalink
Update Dockerfile.mingw_x64.patch
Browse files Browse the repository at this point in the history
  • Loading branch information
hosxy authored Sep 6, 2020
1 parent 06ae9ba commit 159991c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Dockerfile.mingw_x64.patch
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,16 @@

# 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
-RUN git clone https://github.com/aria2/aria2 && \
- 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

0 comments on commit 159991c

Please # to comment.