Browse Source

aria2: Update from 1.19.3 to 1.20.0

android-5
Fredrik Fornwall 9 years ago
parent
commit
ea46b7443f
  1. 22
      packages/aria2/a2io.h.patch
  2. 3
      packages/aria2/build.sh

22
packages/aria2/a2io.h.patch

@ -1,12 +1,12 @@
diff -u -r ../aria2-1.18.8/src/a2io.h ./src/a2io.h diff -u -r ../aria2-1.20.0/src/a2io.h ./src/a2io.h
--- ../aria2-1.18.8/src/a2io.h 2014-09-11 12:24:10.000000000 -0400 --- ../aria2-1.20.0/src/a2io.h 2016-02-15 10:36:34.000000000 -0500
+++ ./src/a2io.h 2014-12-21 13:11:23.147655665 -0500 +++ ./src/a2io.h 2016-03-07 18:34:51.855777471 -0500
@@ -149,7 +149,7 @@ @@ -148,7 +148,7 @@
# define a2fstat(fd, buf) fstat64(fd, buf) #define a2fstat(fd, buf) fstat64(fd, buf)
// # define a2ftell(fd): No ftell64 and not used in aria2 // # define a2ftell(fd): No ftell64 and not used in aria2
# define a2_struct_stat struct stat #define a2_struct_stat struct stat
-# define a2stat(path, buf) stat64(path, buf) -#define a2stat(path, buf) stat64(path, buf)
+# define a2stat(path, buf) stat(path, buf) +#define a2stat(path, buf) stat(path, buf)
# define a2mkdir(path, openMode) mkdir(path, openMode) #define a2mkdir(path, openMode) mkdir(path, openMode)
# define a2utimbuf utimbuf #define a2utimbuf utimbuf
# define a2utime(path, times) ::utime(path, times) #define a2utime(path, times) ::utime(path, times)

3
packages/aria2/build.sh

@ -1,7 +1,6 @@
TERMUX_PKG_HOMEPAGE=http://aria2.sourceforge.net/ TERMUX_PKG_HOMEPAGE=http://aria2.sourceforge.net/
TERMUX_PKG_DESCRIPTION="Multi-protocol & multi-source command-line download utility supporting HTTP/HTTPS, FTP, BitTorrent and Metalink" TERMUX_PKG_DESCRIPTION="Multi-protocol & multi-source command-line download utility supporting HTTP/HTTPS, FTP, BitTorrent and Metalink"
TERMUX_PKG_VERSION=1.19.3 TERMUX_PKG_VERSION=1.20.0
TERMUX_PKG_BUILD_REVISION=1
TERMUX_PKG_SRCURL=https://github.com/tatsuhiro-t/aria2/releases/download/release-$TERMUX_PKG_VERSION/aria2-${TERMUX_PKG_VERSION}.tar.xz TERMUX_PKG_SRCURL=https://github.com/tatsuhiro-t/aria2/releases/download/release-$TERMUX_PKG_VERSION/aria2-${TERMUX_PKG_VERSION}.tar.xz
TERMUX_PKG_DEPENDS="c-ares, openssl, libxml2, libgnustl" TERMUX_PKG_DEPENDS="c-ares, openssl, libxml2, libgnustl"
# sqlite3 is only used for loading cookies from firefox or chrome: # sqlite3 is only used for loading cookies from firefox or chrome:

Loading…
Cancel
Save