components/python/python27/patches/00-bits.patch
changeset 1954 32663e59626d
parent 1914 00e8dbcb9b1e
child 2028 6fa8f5812e20
equal deleted inserted replaced
1953:5c1face45dc8 1954:32663e59626d
     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 # As it is Solaris-specific, it is not suitable for upstream.
     3 #
     4 #
     4 --- Python-2.7.6/configure.ac.~1~	2013-11-09 23:36:41.000000000 -0800
     5 --- Python-2.7.7/configure.ac.~1~       2014-05-31 11:58:40.000000000 -0700
     5 +++ Python-2.7.6/configure.ac	2014-05-14 11:47:47.888887846 -0700
     6 +++ Python-2.7.7/configure.ac   2014-06-02 10:43:06.642237312 -0700
     6 @@ -5,7 +5,7 @@
     7 @@ -5,7 +5,7 @@
     7  # Set VERSION so we only need to edit in one place (i.e., here)
     8  # Set VERSION so we only need to edit in one place (i.e., here)
     8  m4_define(PYTHON_VERSION, 2.7)
     9  m4_define(PYTHON_VERSION, 2.7)
     9  
    10  
    10 -AC_PREREQ(2.65)
    11 -AC_PREREQ(2.65)
    11 +AC_PREREQ(2.68)
    12 +AC_PREREQ(2.68)
    12  
    13  
    13  AC_REVISION($Revision$)
    14  AC_REVISION($Revision$)
    14  AC_INIT(python, PYTHON_VERSION, http://bugs.python.org/)
    15  AC_INIT(python, PYTHON_VERSION, http://bugs.python.org/)
    15 @@ -2086,12 +2086,6 @@
    16 @@ -2079,12 +2079,6 @@
    16  if test -z "$CCSHARED"
    17  if test -z "$CCSHARED"
    17  then
    18  then
    18  	case $ac_sys_system/$ac_sys_release in
    19  	case $ac_sys_system/$ac_sys_release in
    19 -	SunOS*) if test "$GCC" = yes;
    20 -	SunOS*) if test "$GCC" = yes;
    20 -		then CCSHARED="-fPIC";
    21 -		then CCSHARED="-fPIC";