aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain/musl/patches/110-read_timezone_from_fs.patch
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2020-03-19 18:31:17 -0700
committerHauke Mehrtens <hauke@hauke-m.de>2021-09-22 19:04:02 +0200
commitaaec2ad13b18086e2aaf9ca9152827c50e578bc0 (patch)
treee18a2b2eac49f25fcf7a11298db42eafee0f17d7 /toolchain/musl/patches/110-read_timezone_from_fs.patch
parentda5bb885e17cf77caea70adcf473f1fb95448553 (diff)
downloadupstream-aaec2ad13b18086e2aaf9ca9152827c50e578bc0.tar.gz
upstream-aaec2ad13b18086e2aaf9ca9152827c50e578bc0.tar.bz2
upstream-aaec2ad13b18086e2aaf9ca9152827c50e578bc0.zip
toolchain/musl: update to 1.2.2
This release introduces 64-bit time_t, which is needed to avoid the year 2038 problem. Remove upstream patches. Refreshed others. Rebased features.h file based on latest musl. Signed-off-by: Rosen Penev <rosenp@gmail.com>
Diffstat (limited to 'toolchain/musl/patches/110-read_timezone_from_fs.patch')
-rw-r--r--toolchain/musl/patches/110-read_timezone_from_fs.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/toolchain/musl/patches/110-read_timezone_from_fs.patch b/toolchain/musl/patches/110-read_timezone_from_fs.patch
index f92781f7ed..a1f54db551 100644
--- a/toolchain/musl/patches/110-read_timezone_from_fs.patch
+++ b/toolchain/musl/patches/110-read_timezone_from_fs.patch
@@ -1,6 +1,6 @@
--- a/src/time/__tz.c
+++ b/src/time/__tz.c
-@@ -25,6 +25,9 @@ static int r0[5], r1[5];
+@@ -31,6 +31,9 @@ static int r0[5], r1[5];
static const unsigned char *zi, *trans, *index, *types, *abbrevs, *abbrevs_end;
static size_t map_size;
@@ -10,7 +10,7 @@
static char old_tz_buf[32];
static char *old_tz = old_tz_buf;
static size_t old_tz_size = sizeof old_tz_buf;
-@@ -125,6 +128,15 @@ static void do_tzset()
+@@ -132,6 +135,15 @@ static void do_tzset()
"/usr/share/zoneinfo/\0/share/zoneinfo/\0/etc/zoneinfo/\0";
s = getenv("TZ");