mc: Update from 4.8.18 to 4.8.19
This commit is contained in:
parent
d41caf96ef
commit
01ed1c4343
@ -1,8 +1,8 @@
|
||||
TERMUX_PKG_HOMEPAGE=https://www.midnight-commander.org/
|
||||
TERMUX_PKG_DESCRIPTION="Midnight Commander - a powerful file manager"
|
||||
TERMUX_PKG_VERSION=4.8.18
|
||||
TERMUX_PKG_VERSION=4.8.19
|
||||
TERMUX_PKG_SRCURL="http://ftp.midnight-commander.org/mc-${TERMUX_PKG_VERSION}.tar.xz"
|
||||
TERMUX_PKG_SHA256=f7636815c987c1719c4f5de2dcd156a0e7d097b1d10e4466d2bdead343d5bece
|
||||
TERMUX_PKG_SHA256=eb9e56bbb5b2893601d100d0e0293983049b302c5ab61bfb544ad0ee2cc1f2df
|
||||
TERMUX_PKG_DEPENDS="libandroid-support, ncurses, glib"
|
||||
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--with-ncurses-libs=$TERMUX_PREFIX/lib --with-screen=ncurses"
|
||||
|
||||
|
19
packages/mc/src-filemanager-file.c.patch
Normal file
19
packages/mc/src-filemanager-file.c.patch
Normal file
@ -0,0 +1,19 @@
|
||||
diff -u -r ../mc-4.8.19/src/filemanager/file.c ./src/filemanager/file.c
|
||||
--- ../mc-4.8.19/src/filemanager/file.c 2017-03-04 18:51:38.000000000 +0100
|
||||
+++ ./src/filemanager/file.c 2017-03-07 14:20:17.123804844 +0100
|
||||
@@ -665,8 +665,15 @@
|
||||
get_times (const struct stat *sb, mc_timesbuf_t * times)
|
||||
{
|
||||
#ifdef HAVE_UTIMENSAT
|
||||
+# ifdef __ANDROID__
|
||||
+ (*times)[0].tv_sec = sb->st_atime;
|
||||
+ (*times)[0].tv_nsec = sb->st_atime_nsec;
|
||||
+ (*times)[1].tv_sec = sb->st_mtime;
|
||||
+ (*times)[1].tv_nsec = sb->st_mtime_nsec;
|
||||
+# else
|
||||
(*times)[0] = sb->st_atim;
|
||||
(*times)[1] = sb->st_mtim;
|
||||
+# endif
|
||||
#else
|
||||
times->actime = sb->st_atime;
|
||||
times->modtime = sb->st_mtime;
|
Loading…
Reference in New Issue
Block a user