diff options
Diffstat (limited to 'devel/leatherman/files/patch-locale_src_locale.cc')
-rw-r--r-- | devel/leatherman/files/patch-locale_src_locale.cc | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/devel/leatherman/files/patch-locale_src_locale.cc b/devel/leatherman/files/patch-locale_src_locale.cc deleted file mode 100644 index 8695942ee878..000000000000 --- a/devel/leatherman/files/patch-locale_src_locale.cc +++ /dev/null @@ -1,12 +0,0 @@ ---- locale/src/locale.cc.orig 2018-09-29 16:21:31 UTC -+++ locale/src/locale.cc -@@ -44,6 +44,9 @@ namespace leatherman { namespace locale - gen.add_messages_domain(domain); - } - -+ if (id.empty()) -+ return g_locales.insert(make_pair(domain, std::locale())).first->second; -+ - // Ensure creating and adding a new locale is thread-safe. - try { - return g_locales.insert(make_pair(domain, gen(id))).first->second; |