]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blame - python/patches/python-force-sys-platform-to-be-linux2.patch
python: Fix configuration.
[people/ms/ipfire-3.x.git] / python / patches / python-force-sys-platform-to-be-linux2.patch
CommitLineData
913eaa17
MT
1diff -up Python-2.7.2/configure.in.linux2 Python-2.7.2/configure.in
2--- Python-2.7.2/configure.in.linux2 2011-09-13 23:18:19.237252000 -0400
3+++ Python-2.7.2/configure.in 2011-09-13 23:18:19.494252001 -0400
4@@ -293,6 +293,7 @@ then
5 MACHDEP="$ac_md_system$ac_md_release"
6
7 case $MACHDEP in
8+ linux*) MACHDEP="linux2";;
9 cygwin*) MACHDEP="cygwin";;
10 darwin*) MACHDEP="darwin";;
11 atheos*) MACHDEP="atheos";;
12diff -up Python-2.7.2/configure.linux2 Python-2.7.2/configure
13--- Python-2.7.2/configure.linux2 2011-06-11 11:46:28.000000000 -0400
14+++ Python-2.7.2/configure 2011-09-13 23:18:19.489252001 -0400
15@@ -3003,6 +3003,7 @@ then
16 MACHDEP="$ac_md_system$ac_md_release"
17
18 case $MACHDEP in
19+ linux*) MACHDEP="linux2";;
20 cygwin*) MACHDEP="cygwin";;
21 darwin*) MACHDEP="darwin";;
22 atheos*) MACHDEP="atheos";;
23diff -up Python-2.7.2/Misc/NEWS.linux2 Python-2.7.2/Misc/NEWS