commit:     bae7477c594c2f2ce079e18c28b89bc7810bbe85
Author:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 17 16:14:13 2017 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Tue Jul 18 19:13:27 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bae7477c

meson.eclass: ensure we have a UTF-8 locale set

Bug: https://bugs.gentoo.org/625396

 eclass/meson.eclass | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/eclass/meson.eclass b/eclass/meson.eclass
index 25e19dff48e..5b63f0ef3a3 100644
--- a/eclass/meson.eclass
+++ b/eclass/meson.eclass
@@ -40,7 +40,7 @@ esac
 
 if [[ -z ${_MESON_ECLASS} ]]; then
 
-inherit ninja-utils toolchain-funcs
+inherit ninja-utils python-utils-r1 toolchain-funcs
 
 fi
 
@@ -148,6 +148,9 @@ meson_src_configure() {
                STRIP=$(tc-getBUILD_STRIP)
        fi
 
+       # https://bugs.gentoo.org/625396
+       python_export_utf8_locale
+
        # Append additional arguments from ebuild
        mesonargs+=("${emesonargs[@]}")
 

Reply via email to