python2/00145-force-sys-platform-to-be-linux2.patch

24 lines
876 B
Diff
Raw Normal View History

diff -up Python-2.7.2/configure.in.linux2 Python-2.7.2/configure.in
--- Python-2.7.2/configure.in.linux2 2011-09-13 23:18:19.237252000 -0400
+++ Python-2.7.2/configure.in 2011-09-13 23:18:19.494252001 -0400
@@ -293,6 +293,7 @@ then
MACHDEP="$ac_md_system$ac_md_release"
case $MACHDEP in
+ linux*) MACHDEP="linux2";;
cygwin*) MACHDEP="cygwin";;
darwin*) MACHDEP="darwin";;
atheos*) MACHDEP="atheos";;
diff -up Python-2.7.2/configure.linux2 Python-2.7.2/configure
--- Python-2.7.2/configure.linux2 2011-06-11 11:46:28.000000000 -0400
+++ Python-2.7.2/configure 2011-09-13 23:18:19.489252001 -0400
@@ -3003,6 +3003,7 @@ then
MACHDEP="$ac_md_system$ac_md_release"
case $MACHDEP in
+ linux*) MACHDEP="linux2";;
cygwin*) MACHDEP="cygwin";;
darwin*) MACHDEP="darwin";;
atheos*) MACHDEP="atheos";;
diff -up Python-2.7.2/Misc/NEWS.linux2 Python-2.7.2/Misc/NEWS