[packages_10.03.2] python: merge r29276, r29277, r29369
[10.03/packages.git] / lang / python / patches / 011-linux-3.x-compat.patch
diff --git a/lang/python/patches/011-linux-3.x-compat.patch b/lang/python/patches/011-linux-3.x-compat.patch
new file mode 100644 (file)
index 0000000..088618d
--- /dev/null
@@ -0,0 +1,20 @@
+--- a/configure
++++ b/configure
+@@ -2070,6 +2070,7 @@ then
+       MACHDEP="$ac_md_system$ac_md_release"
+       case $MACHDEP in
++      linux3) MACHDEP="linux2";;
+       cygwin*) MACHDEP="cygwin";;
+       darwin*) MACHDEP="darwin";;
+       atheos*) MACHDEP="atheos";;
+--- a/configure.in
++++ b/configure.in
+@@ -240,6 +240,7 @@ then
+       MACHDEP="$ac_md_system$ac_md_release"
+       case $MACHDEP in
++      linux3) MACHDEP="linux2";;
+       cygwin*) MACHDEP="cygwin";;
+       darwin*) MACHDEP="darwin";;
+       atheos*) MACHDEP="atheos";;