Skip to content

Commit

Permalink
dev-lang/python: LC_COLLATE=C
Browse files Browse the repository at this point in the history
Bug: https://bugs.gentoo.org/594768

Package-Manager: portage-2.3.0_p43
  • Loading branch information
floppym committed Sep 23, 2016
1 parent acfc7f3 commit bf78386
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 0 deletions.
4 changes: 4 additions & 0 deletions dev-lang/python/python-2.7.10-r1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,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
Expand Down
4 changes: 4 additions & 0 deletions dev-lang/python/python-2.7.12.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,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
Expand Down
4 changes: 4 additions & 0 deletions dev-lang/python/python-3.4.3-r1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,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
Expand Down
4 changes: 4 additions & 0 deletions dev-lang/python/python-3.4.5.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,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
Expand Down
4 changes: 4 additions & 0 deletions dev-lang/python/python-3.5.2.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bf78386

Please sign in to comment.