mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-04 02:08:49 -04:00
16 lines
696 B
C++
16 lines
696 B
C++
$NetBSD: patch-ipc_chromium_src_base_time__posix.cc,v 1.1 2014/11/03 12:18:32 ryoon Exp $
|
|
|
|
--- ipc/chromium/src/base/time_posix.cc.orig 2013-05-11 19:19:32.000000000 +0000
|
|
+++ ipc/chromium/src/base/time_posix.cc
|
|
@@ -65,8 +65,10 @@ Time Time::FromExploded(bool is_local, c
|
|
timestruct.tm_wday = exploded.day_of_week; // mktime/timegm ignore this
|
|
timestruct.tm_yday = 0; // mktime/timegm ignore this
|
|
timestruct.tm_isdst = -1; // attempt to figure it out
|
|
+#ifndef OS_SOLARIS
|
|
timestruct.tm_gmtoff = 0; // not a POSIX field, so mktime/timegm ignore
|
|
timestruct.tm_zone = NULL; // not a POSIX field, so mktime/timegm ignore
|
|
+#endif
|
|
|
|
time_t seconds;
|
|
#ifdef ANDROID
|