diff options
author | Armin Kuster <akuster808@gmail.com> | 2015-10-02 07:24:52 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-12-08 13:27:36 +0000 |
commit | dd2b5c9653d291538cd7768a69b25d805b31f961 (patch) | |
tree | 2cbb296d48d48c558e28395d95bda15367013289 | |
parent | 31aa5145244c0a4b4f3247c9e75ba37ea1e07c65 (diff) | |
download | poky-dd2b5c9653d291538cd7768a69b25d805b31f961.tar.gz |
tzcode: update to 2015g
Changes affecting code
localtime no longer mishandles America/Anchorage after 2037.
(Thanks to Bradley White for reporting the bug.)
On hosts with signed 32-bit time_t, localtime no longer mishandles
Pacific/Fiji after 2038-01-16 14:00 UTC.
The localtime module allows the variables 'timezone', 'daylight',
and 'altzone' to be in common storage shared with other modules,
and declares them in case the system <time.h> does not.
(Problems reported by Kees Dekker.)
On platforms with tm_zone, strftime.c now assumes it is not NULL.
This simplifies the code and is consistent with zdump.c.
(Problem reported by Christos Zoulas.)
Changes affecting documentation
The tzfile man page now documents that transition times denote the
starts (not the ends) of the corresponding time periods.
(Ambiguity reported by Bill Seymour.)
(From OE-Core master rev: 7c9082ab1ae6f7810c7cffe137d7d232b03852f8)
(From OE-Core rev: 6c32103a8491fb0a0fa5dec905720a40877c6563)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Joshua Lock <joshua.lock@collabora.co.uk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-extended/tzcode/tzcode-native_2015d.bb | 11 | ||||
-rw-r--r-- | meta/recipes-extended/tzcode/tzcode-native_2015g.bb | 25 |
2 files changed, 25 insertions, 11 deletions
diff --git a/meta/recipes-extended/tzcode/tzcode-native_2015d.bb b/meta/recipes-extended/tzcode/tzcode-native_2015d.bb deleted file mode 100644 index 44a9f03096..0000000000 --- a/meta/recipes-extended/tzcode/tzcode-native_2015d.bb +++ /dev/null | |||
@@ -1,11 +0,0 @@ | |||
1 | # note that we allow for us to use data later than our code version | ||
2 | # | ||
3 | SRC_URI =" ftp://ftp.iana.org/tz/releases/tzcode${PV}.tar.gz;name=tzcode \ | ||
4 | ftp://ftp.iana.org/tz/releases/tzdata2015d.tar.gz;name=tzdata" | ||
5 | |||
6 | SRC_URI[tzcode.md5sum] = "4008a3abc025a398697b2587c48258b9" | ||
7 | SRC_URI[tzcode.sha256sum] = "221af54ec5c42eaf0101159ffe1256a883d1c14c46228d42774c656a56317128" | ||
8 | SRC_URI[tzdata.md5sum] = "b595bdc4474b8fc1a15cffc67c66025b" | ||
9 | SRC_URI[tzdata.sha256sum] = "8b9f5008277f09e251e97dba7813f56168d691115bda90ade4638d72f296d531" | ||
10 | |||
11 | require tzcode-native.inc | ||
diff --git a/meta/recipes-extended/tzcode/tzcode-native_2015g.bb b/meta/recipes-extended/tzcode/tzcode-native_2015g.bb new file mode 100644 index 0000000000..989e24b311 --- /dev/null +++ b/meta/recipes-extended/tzcode/tzcode-native_2015g.bb | |||
@@ -0,0 +1,25 @@ | |||
1 | # note that we allow for us to use data later than our code version | ||
2 | # | ||
3 | DESCRIPTION = "tzcode, timezone zoneinfo utils -- zic, zdump, tzselect" | ||
4 | LICENSE = "PD & BSD" | ||
5 | |||
6 | LIC_FILES_CHKSUM = "file://${WORKDIR}/README;md5=d0ff93a73dd5bc3c6e724bb4343760f6" | ||
7 | |||
8 | SRC_URI =" ftp://ftp.iana.org/tz/releases/tzcode${PV}.tar.gz;name=tzcode \ | ||
9 | ftp://ftp.iana.org/tz/releases/tzdata2015g.tar.gz;name=tzdata" | ||
10 | |||
11 | SRC_URI[tzcode.md5sum] = "a2c47d908a6426f530efb1393cf1cd06" | ||
12 | SRC_URI[tzcode.sha256sum] = "18e402ef24bfad2ded38643c9a7a9a580f940a729cb47d983052fc28ff0c7ec4" | ||
13 | SRC_URI[tzdata.md5sum] = "8d46e8b225b9a04c75f5c39636435ad6" | ||
14 | SRC_URI[tzdata.sha256sum] = "b923cdbf078491696b17bc8d069c74bce73fabc5774629da2f410c9b31576161" | ||
15 | |||
16 | S = "${WORKDIR}" | ||
17 | |||
18 | inherit native | ||
19 | |||
20 | do_install () { | ||
21 | install -d ${D}${bindir}/ | ||
22 | install -m 755 zic ${D}${bindir}/ | ||
23 | install -m 755 zdump ${D}${bindir}/ | ||
24 | install -m 755 tzselect ${D}${bindir}/ | ||
25 | } | ||