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