https://bugs.kde.org/show_bug.cgi?id=402335
Kieran Ramos <ramos.kie...@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ramos.kie...@gmail.com --- Comment #1 from Kieran Ramos <ramos.kie...@gmail.com> --- I have more details on the problem: On Ubuntu 'st_mtim' is a timespec struct, but on Darwin the same timespec struct (defined in stat.h) is called 'st_mtimespec'. There is a macro for 'st_mtim.tv_sec' on Ubuntu called 'st_mtime'. The same macro is available in Darwin (defined as 'st_mtimespec.tv_sec') so I think all that is necessary is to change line 548 of mtpstorage.cpp to 'srcBuf.st_mtime'. Here is where the macro is defined on Darwin in stat.h: #if !defined(_POSIX_C_SOURCE) || defined(_DARWIN_C_SOURCE) #define st_atime st_atimespec.tv_sec #define st_mtime st_mtimespec.tv_sec #define st_ctime st_ctimespec.tv_sec #define st_birthtime st_birthtimespec.tv_sec #endif /* (!_POSIX_C_SOURCE || _DARWIN_C_SOURCE) */ -- You are receiving this mail because: You are watching all bug changes.