aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain
diff options
context:
space:
mode:
Diffstat (limited to 'toolchain')
-rw-r--r--toolchain/musl/patches/400-fix_quoted_timezone.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/toolchain/musl/patches/400-fix_quoted_timezone.patch b/toolchain/musl/patches/400-fix_quoted_timezone.patch
new file mode 100644
index 0000000000..79afa4a63b
--- /dev/null
+++ b/toolchain/musl/patches/400-fix_quoted_timezone.patch
@@ -0,0 +1,11 @@
+--- a/src/time/__tz.c
++++ b/src/time/__tz.c
+@@ -87,7 +87,7 @@
+ int i;
+ if (**p == '<') {
+ ++*p;
+- for (i=0; **p!='>' && i<TZNAME_MAX; i++)
++ for (i=0; (*p)[i]!='>' && i<TZNAME_MAX; i++)
+ d[i] = (*p)[i];
+ ++*p;
+ } else {