toolchain: musl: Update to version 1.2.3
[openwrt/staging/chunkeey.git] / toolchain / musl / patches / 110-read_timezone_from_fs.patch
index a1f54db5519908f04bc22b648373b3687901cc9a..e1d0f3ac7a40a8b135a48bf33dcf1188b50b7b52 100644 (file)
@@ -1,6 +1,6 @@
 --- a/src/time/__tz.c
 +++ b/src/time/__tz.c
-@@ -31,6 +31,9 @@ static int r0[5], r1[5];
+@@ -32,6 +32,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;
-@@ -132,6 +135,15 @@ static void do_tzset()
+@@ -133,6 +136,15 @@ static void do_tzset()
                "/usr/share/zoneinfo/\0/share/zoneinfo/\0/etc/zoneinfo/\0";
  
        s = getenv("TZ");