mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
14 lines
402 B
Diff
14 lines
402 B
Diff
--- mksquashfs.c.orig
|
|
+++ mksquashfs.c
|
|
@@ -3372,7 +3372,9 @@
|
|
* lazytime or relatime and the file has been created or
|
|
* modified since the last access.
|
|
*/
|
|
-#ifdef st_atime
|
|
+#ifdef __APPLE__
|
|
+ memset(&buf->st_atimespec, 0, sizeof(buf->st_atimespec));
|
|
+#elif defined(st_atime)
|
|
memset(&buf->st_atim, 0, sizeof(buf->st_atim));
|
|
#else
|
|
memset(&buf->st_atime, 0, sizeof(buf->st_atime));
|