From 77a633d389570f55d73c378fc621a0d32698cbcd Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Fri, 7 Sep 2018 05:20:23 +0000 Subject: main/musl: upgrade to 1.1.20 --- ...ent-wcsftime-padding-specifier-extensions.patch | 63 ---------------------- 1 file changed, 63 deletions(-) delete mode 100644 main/musl/0004-implement-wcsftime-padding-specifier-extensions.patch (limited to 'main/musl/0004-implement-wcsftime-padding-specifier-extensions.patch') diff --git a/main/musl/0004-implement-wcsftime-padding-specifier-extensions.patch b/main/musl/0004-implement-wcsftime-padding-specifier-extensions.patch deleted file mode 100644 index 93eb7fb6de..0000000000 --- a/main/musl/0004-implement-wcsftime-padding-specifier-extensions.patch +++ /dev/null @@ -1,63 +0,0 @@ -From ea81529fb92932a50f06bf7a19cae812ae6cdb59 Mon Sep 17 00:00:00 2001 -From: Samuel Holland -Date: Sat, 7 Apr 2018 09:47:16 -0500 -Subject: [PATCH] implement wcsftime padding specifier extensions - -Commit 8a6bd7307da3fc4d08dd6a9277b611ccb4971354 added support for -padding specifier extensions to strftime, but did not modify wcsftime. -In the process, it added a parameter to __strftime_fmt_1 in strftime.c, -but failed to update the prototype in wcsftime.c. This was found by -compiling musl with LTO: - - src/time/wcsftime.c:7:13: warning: type of '__strftime_fmt_1' does \ - not match original declaration [-Wlto-type-mismatch] - -Fix the prototype of __strftime_fmt_1 in wcsftime.c, and generate the -'pad' argument the same way as it is done in strftime. ---- - src/time/wcsftime.c | 8 +++++--- - 1 file changed, 5 insertions(+), 3 deletions(-) - -diff --git a/src/time/wcsftime.c b/src/time/wcsftime.c -index 638e64f6..23500cc8 100644 ---- a/src/time/wcsftime.c -+++ b/src/time/wcsftime.c -@@ -4,7 +4,7 @@ - #include "locale_impl.h" - #include "libc.h" - --const char *__strftime_fmt_1(char (*s)[100], size_t *l, int f, const struct tm *tm, locale_t loc); -+const char *__strftime_fmt_1(char (*s)[100], size_t *l, int f, const struct tm *tm, locale_t loc, int pad); - - size_t __wcsftime_l(wchar_t *restrict s, size_t n, const wchar_t *restrict f, const struct tm *restrict tm, locale_t loc) - { -@@ -14,7 +14,7 @@ size_t __wcsftime_l(wchar_t *restrict s, size_t n, const wchar_t *restrict f, co - wchar_t *p; - const char *t_mb; - const wchar_t *t; -- int plus; -+ int pad, plus; - unsigned long width; - for (l=0; l