diff options
Diffstat (limited to 'community/chromium/musl-libc++.patch')
-rw-r--r-- | community/chromium/musl-libc++.patch | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/community/chromium/musl-libc++.patch b/community/chromium/musl-libc++.patch index 088d80fad5..1e26f65b69 100644 --- a/community/chromium/musl-libc++.patch +++ b/community/chromium/musl-libc++.patch @@ -1,8 +1,6 @@ -diff --git a/buildtools/third_party/libc++/trunk/include/locale b/buildtools/third_party/libc++/trunk/include/locale -index d29a2dc..53998bc 100644 --- buildtools/third_party/libc++/trunk/include/locale +++ buildtools/third_party/libc++/trunk/include/locale -@@ -11,6 +11,15 @@ +@@ -10,6 +10,15 @@ #ifndef _LIBCPP_LOCALE #define _LIBCPP_LOCALE @@ -18,25 +16,23 @@ index d29a2dc..53998bc 100644 /* locale synopsis -diff --git a/buildtools/third_party/libc++/trunk/src/locale.cpp b/buildtools/third_party/libc++/trunk/src/locale.cpp -index 4163c2c..3d1902a 100644 ---- a/buildtools/third_party/libc++/trunk/src/locale.cpp +--- buildtools/third_party/libc++/trunk/src/locale.cpp +++ buildtools/third_party/libc++/trunk/src/locale.cpp -@@ -1028,11 +1028,11 @@ ctype<char>::do_narrow(const char_type* low, const char_type* high, char dfault, +@@ -1019,11 +1019,11 @@ return low; } -#if defined(__EMSCRIPTEN__) -+//#if defined(__EMSCRIPTEN__) ++// #if defined(__EMSCRIPTEN__) extern "C" const unsigned short ** __ctype_b_loc(); extern "C" const int ** __ctype_tolower_loc(); extern "C" const int ** __ctype_toupper_loc(); -#endif -+//#endif ++// #endif #ifdef _LIBCPP_PROVIDES_DEFAULT_RUNE_TABLE const ctype<char>::mask* -@@ -1136,12 +1136,10 @@ ctype<char>::classic_table() _NOEXCEPT +@@ -1127,12 +1127,10 @@ #elif defined(_AIX) return (const unsigned int *)__lc_ctype_ptr->obj->mask; #else |