tzdata: 2022b

This commit is contained in:
Owen Rafferty 2022-08-10 18:25:04 -05:00
parent 85180a6b3a
commit a844968070
No known key found for this signature in database
GPG Key ID: A68B10E2554DEBCB
5 changed files with 28 additions and 2 deletions

View File

@ -1,5 +1,7 @@
#!/bin/sh -e
patch -p1 < awk.patch
make
make DESTDIR="$1" ZICDIR=/usr/bin install

View File

@ -1 +1,2 @@
e9d82a851a15bb5db2cbaae2c3fc633743ad9edc069e3738c5e8908978064ed8
5da3fd3eb51d51d2aa4c599db8a1dd8dff453d79f4881131e35d40707ae1f838
5fb0497a5a004d182f33a5e49e6a6f10a1c2db29c208363c7eefde8fc009b383

View File

@ -0,0 +1,22 @@
diff --git a/ziguard.awk b/ziguard.awk
index 0728baa..9b3f2f8 100644
--- a/ziguard.awk
+++ b/ziguard.awk
@@ -165,7 +165,7 @@ DATAFORM != "main" {
sub(/[-+][^\t ]+CHANGE-TO-/, "")
} else {
if (/^[^#]*%z/) {
- stdoff_column = 2 * /^Zone/ + 1
+ stdoff_column = 2 * int(/^Zone/) + 1
rules_column = stdoff_column + 1
stdoff = get_minutes($stdoff_column)
rules = $rules_column
@@ -222,7 +222,7 @@ DATAFORM != "main" {
stdoff_subst[1] = rounded_stdoff
}
} else if (stdoff_subst[0]) {
- stdoff_column = 2 * /^Zone/ + 1
+ stdoff_column = 2 * int(/^Zone/) + 1
stdoff_column_val = $stdoff_column
if (stdoff_column_val == stdoff_subst[0]) {
sub(stdoff_subst[0], stdoff_subst[1])

View File

@ -1 +1,2 @@
https://github.com/eggert/tz/archive/VERSION.tar.gz
patches/awk.patch

View File

@ -1 +1 @@
2022a 1
2022b 1