diff options
Diffstat (limited to 'user/openjdk7/gcc-gcc-5.4.0-locale.patch')
-rw-r--r-- | user/openjdk7/gcc-gcc-5.4.0-locale.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/user/openjdk7/gcc-gcc-5.4.0-locale.patch b/user/openjdk7/gcc-gcc-5.4.0-locale.patch new file mode 100644 index 000000000..dca3ba9e8 --- /dev/null +++ b/user/openjdk7/gcc-gcc-5.4.0-locale.patch @@ -0,0 +1,13 @@ +diff --git gcc-5.4.0/libstdc++-v3/config/locale/generic/c_locale.cc.orig gcc-5.4.0/libstdc++-v3/config/locale/generic/c_locale.cc +--- gcc-5.4.0/libstdc++-v3/config/locale/generic/c_locale.cc.orig ++++ gcc-5.4.0/libstdc++-v3/config/locale/generic/c_locale.cc +@@ -213,9 +213,6 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION + // Currently, the generic model only supports the "C" locale. + // See http://gcc.gnu.org/ml/libstdc++/2003-02/msg00345.html + __cloc = 0; +- if (strcmp(__s, "C")) +- __throw_runtime_error(__N("locale::facet::_S_create_c_locale " +- "name not valid")); + } + + void |