diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2017-03-08 00:00:26 +0100 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2017-03-09 22:35:21 +0100 |
commit | 652076293235276e2f978fe377322a6cbd615455 (patch) | |
tree | 9de85c8771bbff3dc8dee18aa23e38b29c3cfa90 /package/python/018-fix-add-gcc-paths-logic.patch | |
parent | 98b831b855559ba2bc3fcdccf9c29c4936008d12 (diff) | |
download | buildroot-652076293235276e2f978fe377322a6cbd615455.tar.gz buildroot-652076293235276e2f978fe377322a6cbd615455.zip |
python: move to Git formatted patches
Now that the cpython project has a nice Github repository, with tags,
it's much nicer to handle the stack of Python patches with Git. The
python3 package patches had already been converted, but not the python
package patches. Therefore, this commit does the move.
There is no functional change, only reformatting of the patches.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/python/018-fix-add-gcc-paths-logic.patch')
-rw-r--r-- | package/python/018-fix-add-gcc-paths-logic.patch | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/package/python/018-fix-add-gcc-paths-logic.patch b/package/python/018-fix-add-gcc-paths-logic.patch deleted file mode 100644 index af6efcc38c..0000000000 --- a/package/python/018-fix-add-gcc-paths-logic.patch +++ /dev/null @@ -1,27 +0,0 @@ -Override system locale and set to default when adding gcc paths - -Forces the use of the default locale in the function -add_gcc_paths, which is called when cross compiling to add the -include and library paths. This is necessary because otherwise -the gcc output is localized and the output parsing fails, which -results in no paths added and detect_modules not able to find -any system library (eg. libz, libssl, etc.) - -[Thomas: patch taken from https://bugs.python.org/issue23767.] - -Signed-off-by: Samuel Cabrero <samuelcabrero@gmail.com> -Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> - -Index: b/setup.py -=================================================================== ---- a/setup.py -+++ b/setup.py -@@ -414,7 +414,7 @@ - tmpfile = os.path.join(self.build_temp, 'gccpaths') - if not os.path.exists(self.build_temp): - os.makedirs(self.build_temp) -- ret = os.system('%s -E -v - </dev/null 2>%s 1>/dev/null' % (gcc, tmpfile)) -+ ret = os.system('LC_ALL=C %s -E -v - </dev/null 2>%s 1>/dev/null' % (gcc, tmpfile)) - is_gcc = False - in_incdirs = False - inc_dirs = [] |