rust/cargo-c: update to 0.10.7+cargo-0.84.0
[oi-userland.git] / components / runtime / chezscheme / patches / 03-gmtoff.patch
blobebbb5103569884a05cbb05cbc976ae47240f8421
1 diff -ru ChezScheme-9.5.2/c/stats.c /builds/richlowe/ChezScheme-9.5.2/c/stats.c
2 --- ChezScheme-9.5.2/c/stats.c 2019-03-21 22:05:24.000000000 +0000
3 +++ /builds/richlowe/ChezScheme-9.5.2/c/stats.c 2019-08-06 00:12:59.343648209 +0000
4 @@ -417,7 +417,11 @@
7 #else
8 +# if defined(SOLARIS)
9 + tzoff = tmxp->tm_isdst ? -altzone : -timezone;
10 +# else
11 tzoff = tmxp->tm_gmtoff;
12 +# endif
13 if (given_tzoff == Sfalse) {
14 # if defined(__linux__) || defined(SOLARIS)
15 /* Linux and Solaris set `tzname`: */