~ruther/guix-local

ref: e6ca4b6096dba2f968f9e2a45445b29dbe13db2b guix-local/gnu/packages/patches/date-ignore-zonenow.patch -rw-r--r-- 671 bytes
e6ca4b60 — Sergey Trofimov gnu: stapler: Switch to pyproject. 11 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
Ignore the new zonenow.tab file introduced in tzdata 2023d.

diff -u a/src/tz.cpp b/src/tz.cpp
--- a/src/tz.cpp	2024-03-08 11:14:14.822488065 +0100
+++ b/src/tz.cpp	2024-03-08 11:47:12.105268426 +0100
@@ -2667,6 +2667,7 @@
                 strcmp(d->d_name, "right")        == 0      ||
                 strcmp(d->d_name, "+VERSION")     == 0      ||
                 strcmp(d->d_name, "zone.tab")     == 0      ||
+                strcmp(d->d_name, "zonenow.tab")  == 0      ||
                 strcmp(d->d_name, "zone1970.tab") == 0      ||
                 strcmp(d->d_name, "tzdata.zi")    == 0      ||
                 strcmp(d->d_name, "leapseconds")  == 0      ||