X-Git-Url: https://git.distorted.org.uk/~mdw/termux-packages/blobdiff_plain/59f0d218a6ff34c80cf898f6d7ac62555ba8eb11..02380b95b32d1b82a6fb31a3b1cab45de4a5026c:/packages/aria2/a2io.h.patch?ds=sidebyside diff --git a/packages/aria2/a2io.h.patch b/packages/aria2/a2io.h.patch index 82d1beb2..75075979 100644 --- a/packages/aria2/a2io.h.patch +++ b/packages/aria2/a2io.h.patch @@ -1,12 +1,12 @@ -diff -u -r ../aria2-1.18.8/src/a2io.h ./src/a2io.h ---- ../aria2-1.18.8/src/a2io.h 2014-09-11 12:24:10.000000000 -0400 -+++ ./src/a2io.h 2014-12-21 13:11:23.147655665 -0500 -@@ -149,7 +149,7 @@ - # define a2fstat(fd, buf) fstat64(fd, buf) +diff -u -r ../aria2-1.20.0/src/a2io.h ./src/a2io.h +--- ../aria2-1.20.0/src/a2io.h 2016-02-15 10:36:34.000000000 -0500 ++++ ./src/a2io.h 2016-03-07 18:34:51.855777471 -0500 +@@ -148,7 +148,7 @@ + #define a2fstat(fd, buf) fstat64(fd, buf) // # define a2ftell(fd): No ftell64 and not used in aria2 - # define a2_struct_stat struct stat --# define a2stat(path, buf) stat64(path, buf) -+# define a2stat(path, buf) stat(path, buf) - # define a2mkdir(path, openMode) mkdir(path, openMode) - # define a2utimbuf utimbuf - # define a2utime(path, times) ::utime(path, times) + #define a2_struct_stat struct stat +-#define a2stat(path, buf) stat64(path, buf) ++#define a2stat(path, buf) stat(path, buf) + #define a2mkdir(path, openMode) mkdir(path, openMode) + #define a2utimbuf utimbuf + #define a2utime(path, times) ::utime(path, times)