python/hypothesis: update to 6.122.3
[oi-userland.git] / components / database / pgpool-II / patches / 03-tm_gmtoff.patch
blobbbc994ad35e4f0f7d7fc9e893d4a2050a6eb6f78
1 tm.gmtoff is a BSD extension we don't have.
3 --- pgpool-II-4.3.0/src/main/pgpool_logger.c.orig 2021-12-07 03:47:33.000000000 +0000
4 +++ pgpool-II-4.3.0/src/main/pgpool_logger.c 2022-01-09 12:11:45.759995653 +0000
5 @@ -1116,10 +1116,10 @@
6 rotinterval = pool_config->log_rotation_age * SECS_PER_MINUTE; /* convert to seconds */
7 now = (pg_time_t) time(NULL);
8 tm = localtime(&now);
9 - now += tm->tm_gmtoff;
10 +// now += tm->tm_gmtoff;
11 now -= now % rotinterval;
12 now += rotinterval;
13 - now -= tm->tm_gmtoff;
14 +// now -= tm->tm_gmtoff;
15 next_rotation_time = now;