diff options
author | Mike Frysinger <vapier@gentoo.org> | 2007-04-11 09:05:39 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2007-04-11 09:05:39 +0000 |
commit | 3a97391e44451e9d0b2ffe76b3eaaeb6ddebd1da (patch) | |
tree | e737c69dc89814e726e2cc635a49f2ad60a659f1 /app-emulation/wine/files | |
parent | Fabian Groffen says: remove alloca() usage #173998. (diff) | |
download | gentoo-2-3a97391e44451e9d0b2ffe76b3eaaeb6ddebd1da.tar.gz gentoo-2-3a97391e44451e9d0b2ffe76b3eaaeb6ddebd1da.tar.bz2 gentoo-2-3a97391e44451e9d0b2ffe76b3eaaeb6ddebd1da.zip |
Remove pointless call to settimeofday() #162438.
(Portage version: 2.1.2.3)
Diffstat (limited to 'app-emulation/wine/files')
-rw-r--r-- | app-emulation/wine/files/wine-stub-RtlSetTimeZoneInformation.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/app-emulation/wine/files/wine-stub-RtlSetTimeZoneInformation.patch b/app-emulation/wine/files/wine-stub-RtlSetTimeZoneInformation.patch new file mode 100644 index 000000000000..e776aa140ef7 --- /dev/null +++ b/app-emulation/wine/files/wine-stub-RtlSetTimeZoneInformation.patch @@ -0,0 +1,13 @@ +http://bugs.gentoo.org/162438 + +--- wine/dlls/ntdll/time.c ++++ wine/dlls/ntdll/time.c +@@ -1059,7 +1059,7 @@ + */ + NTSTATUS WINAPI RtlSetTimeZoneInformation( const RTL_TIME_ZONE_INFORMATION *tzinfo ) + { +-#ifdef HAVE_SETTIMEOFDAY ++#if 0 /* settimeofday(NULL) always returns -1: Bug 162438 */ + struct timezone tz; + + tz.tz_minuteswest = tzinfo->Bias; |