python, python-native upgrade from 2.6.5 to 2.6.6

Removed these patch:
    python-native-2.6.5/00-fix-bindir-libdir-for-cross.patch
    python/00-fix-bindir-libdir-for-cross.patch

The upstream code has changed, and it does not need the above 2 patches
(fixes) anymore.

Patches rebased to the newer code:
   python/01-use-proper-tools-for-cross-build.patch
   python/04-default-is-optimized.patch
   python/06-avoid_usr_lib_termcap_path_in_linking.patch
   python/99-ignore-optimization-flag.patch

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
This commit is contained in:
Nitin A Kamble
2010-11-08 10:34:46 -08:00
committed by Saul Wold
parent a7af5c516e
commit 793bb465b3
15 changed files with 69 additions and 111 deletions

View File

@@ -3,17 +3,17 @@
#
# Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Index: Python-2.6.1/Modules/main.c
Index: Python-2.6.6/Modules/main.c
===================================================================
--- Python-2.6.1-orig/Modules/main.c
+++ Python-2.6.1/Modules/main.c
@@ -352,6 +352,9 @@ Py_Main(int argc, char **argv)
--- Python-2.6.6.orig/Modules/main.c
+++ Python-2.6.6/Modules/main.c
@@ -327,6 +327,9 @@ Py_Main(int argc, char **argv)
/* case 'J': reserved for Jython */
/* case 'J': reserved for Jython */
+ case 'O': /* ignore it */
+ break;
+ case 'O': /* ignore it */
+ break;
+
case 'N':
Py_OptimizeFlag=0;
break;
case 'N':
Py_OptimizeFlag=0;
break;