Skip to content

Commit 159991c

Browse files
authored
Update Dockerfile.mingw_x64.patch
1 parent 06ae9ba commit 159991c

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

Dockerfile.mingw_x64.patch

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,16 @@
1515

1616
# It would be better to use nearest ubuntu archive mirror for faster
1717
# downloads.
18-
@@ -106,6 +106,8 @@
18+
@@ -106,6 +106,9 @@
1919
LIBS="-lws2_32" && \
2020
make install
2121
ADD https://api.github.com/repos/aria2/aria2/git/refs/heads/master version.json
2222
-RUN git clone https://github.com/aria2/aria2 && \
2323
- cd aria2 && autoreconf -i && ./mingw-config && make && \
2424
+RUN git clone -b release-1.35.0 https://github.com/aria2/aria2 && \
2525
+ cd aria2 && \
26-
+ patch -Np1 < ../aria2-fast.patch && \
26+
+ curl -L -o aria2-fast.patch "https://raw.githubusercontent.com/hosxy/aria2-fast/master/aria2-fast.patch" && \
27+
+ patch -Np1 < ./aria2-fast.patch && \
2728
+ autoreconf -i && ./mingw-config && make && \
2829
$HOST-strip src/aria2c.exe
2930

0 commit comments

Comments
 (0)