diff options
Diffstat (limited to 'sys-libs/timezone-data/files/timezone-data-2014j-POSIX-TZ-settings.patch')
-rw-r--r-- | sys-libs/timezone-data/files/timezone-data-2014j-POSIX-TZ-settings.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/sys-libs/timezone-data/files/timezone-data-2014j-POSIX-TZ-settings.patch b/sys-libs/timezone-data/files/timezone-data-2014j-POSIX-TZ-settings.patch new file mode 100644 index 0000000..d56e10c --- /dev/null +++ b/sys-libs/timezone-data/files/timezone-data-2014j-POSIX-TZ-settings.patch @@ -0,0 +1,28 @@ +See commit 66cda43f6783a2b869251f7093689751ae298070 +diff --git a/NEWS b/NEWS +index 1e781d2..45e4f84 100644 +--- a/NEWS ++++ b/NEWS +@@ -8,6 +8,9 @@ Unreleased, experimental changes + that tzset always has, by replacing invalid bytes with '_' and by + shortening too-long abbreviations. + ++ tzselect no longer mishandles POSIX TZ settings when GNU awk is used. ++ (Thanks to Stefan Kuhn.) ++ + Changes affecting build procedure + + 'make check' now checks for links to links in the data. +diff --git a/tzselect.ksh b/tzselect.ksh +index 029abcd..d5dae17 100644 +--- a/tzselect.ksh ++++ b/tzselect.ksh +@@ -328,7 +328,7 @@ while + tzname = "[^-+,0-9][^-+,0-9][^-+,0-9]+" + time = "[0-2]?[0-9](:[0-5][0-9](:[0-5][0-9])?)?" + offset = "[-+]?" time +- date = "(J?[0-9]+|M[0-9]+\.[0-9]+\.[0-9]+)" ++ date = "(J?[0-9]+|M[0-9]+\\.[0-9]+\\.[0-9]+)" + datetime = "," date "(/" time ")?" + tzpattern = "^(:.*|" tzname offset "(" tzname \ + "(" offset ")?(" datetime datetime ")?)?)$" |