forked from kiss-community/repo
tzdata: 2022b
This commit is contained in:
parent
85180a6b3a
commit
a844968070
@ -1,5 +1,7 @@
|
|||||||
#!/bin/sh -e
|
#!/bin/sh -e
|
||||||
|
|
||||||
|
patch -p1 < awk.patch
|
||||||
|
|
||||||
make
|
make
|
||||||
make DESTDIR="$1" ZICDIR=/usr/bin install
|
make DESTDIR="$1" ZICDIR=/usr/bin install
|
||||||
|
|
||||||
|
@ -1 +1,2 @@
|
|||||||
e9d82a851a15bb5db2cbaae2c3fc633743ad9edc069e3738c5e8908978064ed8
|
5da3fd3eb51d51d2aa4c599db8a1dd8dff453d79f4881131e35d40707ae1f838
|
||||||
|
5fb0497a5a004d182f33a5e49e6a6f10a1c2db29c208363c7eefde8fc009b383
|
||||||
|
22
extra/tzdata/patches/awk.patch
Normal file
22
extra/tzdata/patches/awk.patch
Normal 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])
|
@ -1 +1,2 @@
|
|||||||
https://github.com/eggert/tz/archive/VERSION.tar.gz
|
https://github.com/eggert/tz/archive/VERSION.tar.gz
|
||||||
|
patches/awk.patch
|
||||||
|
@ -1 +1 @@
|
|||||||
2022a 1
|
2022b 1
|
||||||
|
Loading…
Reference in New Issue
Block a user