python3: add patch to fix logic to get gcc paths
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fri, 29 May 2015 20:52:24 +0000 (22:52 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Sun, 31 May 2015 19:45:04 +0000 (21:45 +0200)
commit4433c7d647f4c9385d9a7e3f0ce912d61edfd519
tree8baa636cb0fa375c0b380c623054e832208a6ca9
parent238bf198cf4f31a3301b81a924d5e22044945955
python3: add patch to fix logic to get gcc paths

The Python setup.py has a function called add_gcc_paths(), which
executes gcc -E -v to get the list of header paths searched by
gcc. However, the logic of setup.py is only valid with the normal
english output of gcc: it doesn't work if a non-english locale is
set. This causes setup.py to not find certain headers (such as zlib.h)
and therefore disabling the build of such extensions.

Reported-by: Bruno Coudoin <bruno.coudoin@gcompris.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/python3/019-fix-add-gcc-paths-logic.patch [new file with mode: 0644]