[Python-checkins] cpython (3.5): Issue #28258: Fixed build with Estonian locale (python-config and distclean

serhiy.storchaka python-checkins at python.org
Thu Sep 29 13:48:05 EDT 2016


https://hg.python.org/cpython/rev/6110997dd6e7
changeset:   104157:6110997dd6e7
branch:      3.5
parent:      104154:b2f0a31fa441
user:        Serhiy Storchaka <storchaka at gmail.com>
date:        Thu Sep 29 20:29:23 2016 +0300
summary:
  Issue #28258: Fixed build with Estonian locale (python-config and distclean
targets in Makefile).  Patch by Arfrever Frehtes Taifersar Arahesis.

files:
  Makefile.pre.in |  4 ++--
  Misc/NEWS       |  3 +++
  2 files changed, 5 insertions(+), 2 deletions(-)


diff --git a/Makefile.pre.in b/Makefile.pre.in
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
@@ -1341,7 +1341,7 @@
 	# is not available in configure
 	sed -e "s, at EXENAME@,$(BINDIR)/python$(LDVERSION)$(EXE)," < $(srcdir)/Misc/python-config.in >python-config.py
 	# Replace makefile compat. variable references with shell script compat. ones; $(VAR) -> ${VAR}
-	sed -e 's,\$$(\([A-Za-z0-9_]*\)),\$$\{\1\},g' < Misc/python-config.sh >python-config
+	LC_ALL=C sed -e 's,\$$(\([A-Za-z0-9_]*\)),\$$\{\1\},g' < Misc/python-config.sh >python-config
 	# On Darwin, always use the python version of the script, the shell
 	# version doesn't use the compiler customizations that are provided
 	# in python (_osx_support.py).
@@ -1623,7 +1623,7 @@
 		Modules/Setup Modules/Setup.local Modules/Setup.config \
 		Modules/ld_so_aix Modules/python.exp Misc/python.pc
 	-rm -f python*-gdb.py
-	find $(srcdir)/[a-zA-Z]* '(' -name '*.fdc' -o -name '*~' \
+	LC_ALL=C; find $(srcdir)/[a-zA-Z]* '(' -name '*.fdc' -o -name '*~' \
 				     -o -name '[@,#]*' -o -name '*.old' \
 				     -o -name '*.orig' -o -name '*.rej' \
 				     -o -name '*.bak' ')' \
diff --git a/Misc/NEWS b/Misc/NEWS
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -408,6 +408,9 @@
 Build
 -----
 
+- Issue #28258: Fixed build with Estonian locale (python-config and distclean
+  targets in Makefile).  Patch by Arfrever Frehtes Taifersar Arahesis.
+
 - Issue #26661: setup.py now detects system libffi with multiarch wrapper.
 
 - Issue #28066: Fix the logic that searches build directories for generated

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list