diff options
author | Bartłomiej Piotrowski <bpiotrowski@alpinelinux.org> | 2014-01-20 14:44:42 +0100 |
---|---|---|
committer | Bartłomiej Piotrowski <bpiotrowski@alpinelinux.org> | 2014-01-20 14:44:42 +0100 |
commit | b92a507ba75c4193656aa3004812adb6cdea655f (patch) | |
tree | c1bade0c836bd19b8bc6dcc3482a82f3c7b247ee /unmaintained/chromium/chromium-futimens.patch | |
parent | 83e760906b9c3c9663b64dca6b5fa611ba3247c9 (diff) | |
download | aports-b92a507ba75c4193656aa3004812adb6cdea655f.tar.bz2 aports-b92a507ba75c4193656aa3004812adb6cdea655f.tar.xz |
testing/chromium: move to unmaintained
Diffstat (limited to 'unmaintained/chromium/chromium-futimens.patch')
-rw-r--r-- | unmaintained/chromium/chromium-futimens.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/unmaintained/chromium/chromium-futimens.patch b/unmaintained/chromium/chromium-futimens.patch new file mode 100644 index 000000000..0662bcad1 --- /dev/null +++ b/unmaintained/chromium/chromium-futimens.patch @@ -0,0 +1,22 @@ +--- chromium-13.0.754.0.orig/base/platform_file_posix.cc ++++ chromium-13.0.754.0/base/platform_file_posix.cc +@@ -167,10 +167,15 @@ + if (file < 0) + return false; + +- timeval times[2]; +- times[0] = last_access_time.ToTimeVal(); +- times[1] = last_modified_time.ToTimeVal(); +- return !futimes(file, times); ++ timespec times[2]; ++ ++ times[0].tv_sec = last_access_time.ToTimeT(); ++ times[0].tv_nsec = 0; ++ ++ times[1].tv_sec = last_modified_time.ToTimeT(); ++ times[1].tv_nsec = 0; ++ ++ return !futimens(file, times); + } + + bool GetPlatformFileInfo(PlatformFile file, PlatformFileInfo* info) { |