components/python/python27/patches/00-bits.patch
changeset 1914 00e8dbcb9b1e
parent 1246 164605dfef4e
child 1954 32663e59626d
equal deleted inserted replaced
1913:bf893655bc39 1914:00e8dbcb9b1e
     1 #
     1 #
     2 # This patch makes the pyconfig.h header file 32/64 bit friendly.
     2 # This patch makes the pyconfig.h header file 32/64 bit friendly.
     3 #
     3 #
     4 --- Python-2.7.1/configure.in.orig	Tue Jul 12 14:46:56 2011
     4 --- Python-2.7.6/configure.ac.~1~	2013-11-09 23:36:41.000000000 -0800
     5 +++ Python-2.7.1/configure.in	Tue Jul 12 14:47:05 2011
     5 +++ Python-2.7.6/configure.ac	2014-05-14 11:47:47.888887846 -0700
     6 @@ -5,7 +5,7 @@
     6 @@ -5,7 +5,7 @@
     7  # Set VERSION so we only need to edit in one place (i.e., here)
     7  # Set VERSION so we only need to edit in one place (i.e., here)
     8  m4_define(PYTHON_VERSION, 2.7)
     8  m4_define(PYTHON_VERSION, 2.7)
     9  
     9  
    10 -AC_PREREQ(2.65)
    10 -AC_PREREQ(2.65)
    11 +AC_PREREQ(2.68)
    11 +AC_PREREQ(2.68)
    12  
    12  
    13  AC_REVISION($Revision$)
    13  AC_REVISION($Revision$)
    14  AC_INIT(python, PYTHON_VERSION, http://bugs.python.org/)
    14  AC_INIT(python, PYTHON_VERSION, http://bugs.python.org/)
    15 @@ -1906,12 +1941,6 @@
    15 @@ -2086,12 +2086,6 @@
    16  if test -z "$CCSHARED"
    16  if test -z "$CCSHARED"
    17  then
    17  then
    18  	case $ac_sys_system/$ac_sys_release in
    18  	case $ac_sys_system/$ac_sys_release in
    19 -	SunOS*) if test "$GCC" = yes;
    19 -	SunOS*) if test "$GCC" = yes;
    20 -		then CCSHARED="-fPIC";
    20 -		then CCSHARED="-fPIC";