summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-lang/python/python-3.5.2.ebuild')
-rw-r--r--dev-lang/python/python-3.5.2.ebuild4
1 files changed, 4 insertions, 0 deletions
diff --git a/dev-lang/python/python-3.5.2.ebuild b/dev-lang/python/python-3.5.2.ebuild
index ea66658420d0..4875c2d15d28 100644
--- a/dev-lang/python/python-3.5.2.ebuild
+++ b/dev-lang/python/python-3.5.2.ebuild
@@ -111,6 +111,10 @@ src_configure() {
einfo "Disabled modules: ${PYTHON_DISABLE_MODULES}"
fi
+ # Ensure sed works as expected
+ # https://bugs.gentoo.org/594768
+ export LC_COLLATE=C
+
if [[ "$(gcc-major-version)" -ge 4 ]]; then
append-flags -fwrapv
fi