diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2022-07-02 18:51:15 -0500 |
---|---|---|
committer | Zach van Rijn <me@zv.io> | 2022-10-21 18:34:01 -0500 |
commit | 57b3454125ff268fb900c0d60b267535857bcd93 (patch) | |
tree | fb977ce1b0bdb0b6cbd6454809a86d1705277c8e /legacy/gcc6/gcc-5.4.0-locale.patch | |
parent | 04142312762064baaf4765e13b479d9e03cfad47 (diff) | |
download | packages-57b3454125ff268fb900c0d60b267535857bcd93.tar.gz packages-57b3454125ff268fb900c0d60b267535857bcd93.tar.bz2 packages-57b3454125ff268fb900c0d60b267535857bcd93.tar.xz packages-57b3454125ff268fb900c0d60b267535857bcd93.zip |
legacy/gcc6: add buildable patches
Diffstat (limited to 'legacy/gcc6/gcc-5.4.0-locale.patch')
-rw-r--r-- | legacy/gcc6/gcc-5.4.0-locale.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/legacy/gcc6/gcc-5.4.0-locale.patch b/legacy/gcc6/gcc-5.4.0-locale.patch new file mode 100644 index 000000000..dca3ba9e8 --- /dev/null +++ b/legacy/gcc6/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 |