Changeset 29369


Ignore:
Timestamp:
2011-11-30T20:47:24+01:00 (6 years ago)
Author:
jow
Message:

[packages] python: fix compilation against Linux 3.x (#10197)

Location:
packages/lang/python/patches
Files:
1 added
10 edited

Legend:

Unmodified
Added
Removed
  • packages/lang/python/patches/000-cross-compile.patch

    r22968 r29369  
    33 1 file changed, 13 insertions(+), 12 deletions(-) 
    44 
    5 --- Python-2.6.4.orig/Makefile.pre.in 
    6 +++ Python-2.6.4/Makefile.pre.in 
     5--- a/Makefile.pre.in 
     6+++ b/Makefile.pre.in 
    77@@ -175,6 +175,7 @@ UNICODE_OBJS=   @UNICODE_OBJS@ 
    88  
  • packages/lang/python/patches/010-cannot-run-test-programm.patch

    r22968 r29369  
    33 1 file changed, 34 insertions(+), 12 deletions(-) 
    44 
    5 --- Python-2.6.4.orig/configure.in 
    6 +++ Python-2.6.4/configure.in 
     5--- a/configure.in 
     6+++ b/configure.in 
    77@@ -2653,6 +2653,7 @@ AC_CHECK_LIB(c, inet_aton, [$ac_cv_prog_ 
    88 # On Tru64, chflags seems to be present, but calling it will 
  • packages/lang/python/patches/020-dont-compile-python-files.patch

    r22968 r29369  
    33 1 file changed, 16 deletions(-) 
    44 
    5 --- Python-2.6.4.orig/Makefile.pre.in 
    6 +++ Python-2.6.4/Makefile.pre.in 
     5--- a/Makefile.pre.in 
     6+++ b/Makefile.pre.in 
    77@@ -887,22 +887,6 @@ libinstall:        build_all $(srcdir)/Lib/$(PL 
    88                done; \ 
  • packages/lang/python/patches/030-fixup-include-dirs.patch

    r22968 r29369  
    33 1 file changed, 2 insertions(+), 13 deletions(-) 
    44 
    5 --- Python-2.6.4.orig/setup.py 
    6 +++ Python-2.6.4/setup.py 
     5--- a/setup.py 
     6+++ b/setup.py 
    77@@ -309,9 +309,6 @@ class PyBuildExt(build_ext): 
    88         return sys.platform 
  • packages/lang/python/patches/040-dont-import-cross-compiled-modules.patch

    r22968 r29369  
    33 1 file changed, 30 deletions(-) 
    44 
    5 --- Python-2.6.4.orig/setup.py 
    6 +++ Python-2.6.4/setup.py 
     5--- a/setup.py 
     6+++ b/setup.py 
    77@@ -270,36 +270,6 @@ class PyBuildExt(build_ext): 
    88         ext_filename = os.path.join( 
  • packages/lang/python/patches/070-dont-clean-ipkg-install.patch

    r22968 r29369  
    33 1 file changed, 3 insertions(+), 3 deletions(-) 
    44 
    5 --- Python-2.6.4.orig/Makefile.pre.in 
    6 +++ Python-2.6.4/Makefile.pre.in 
     5--- a/Makefile.pre.in 
     6+++ b/Makefile.pre.in 
    77@@ -1118,11 +1118,11 @@ TAGS:: 
    88 # Sanitation targets -- clean leaves libraries, executables and tags 
  • packages/lang/python/patches/080-distutils-dont_adjust_files.patch

    r22968 r29369  
    33 1 file changed, 4 insertions(+), 39 deletions(-) 
    44 
    5 --- Python-2.6.4.orig/Lib/distutils/command/build_scripts.py 
    6 +++ Python-2.6.4/Lib/distutils/command/build_scripts.py 
     5--- a/Lib/distutils/command/build_scripts.py 
     6+++ b/Lib/distutils/command/build_scripts.py 
    77@@ -54,10 +54,7 @@ class build_scripts (Command): 
    88  
  • packages/lang/python/patches/090-fix-ctypes.patch

    r22968 r29369  
    33 1 file changed, 6 deletions(-) 
    44 
    5 --- Python-2.6.4.orig/Lib/ctypes/__init__.py 
    6 +++ Python-2.6.4/Lib/ctypes/__init__.py 
    7 @@ -538,9 +538,3 @@ for kind in [c_ushort, c_uint, c_ulong, 
     5--- a/Lib/ctypes/__init__.py 
     6+++ b/Lib/ctypes/__init__.py 
     7@@ -538,9 +538,3 @@ for kind in [c_ushort, c_uint, c_ulong,  
    88     elif sizeof(kind) == 4: c_uint32 = kind 
    99     elif sizeof(kind) == 8: c_uint64 = kind 
  • packages/lang/python/patches/110-enable-zlib.patch

    r22968 r29369  
    33 1 file changed, 1 insertion(+), 1 deletion(-) 
    44 
    5 --- Python-2.6.4.orig/Modules/Setup.dist 
    6 +++ Python-2.6.4/Modules/Setup.dist 
     5--- a/Modules/Setup.dist 
     6+++ b/Modules/Setup.dist 
    77@@ -460,7 +460,7 @@ GLHACK=-Dclear=__GLclear 
    88 # Andrew Kuchling's zlib module. 
  • packages/lang/python/patches/120-force-internal-modules-for-hashlib.patch

    r22968 r29369  
    33 1 file changed, 6 insertions(+), 4 deletions(-) 
    44 
    5 --- Python-2.6.4.orig/setup.py 
    6 +++ Python-2.6.4/setup.py 
     5--- a/setup.py 
     6+++ b/setup.py 
    77@@ -622,9 +622,10 @@ class PyBuildExt(build_ext): 
    88  
Note: See TracChangeset for help on using the changeset viewer.