components/python/python27/patches/00-bits.patch
author John Beck <John.Beck@Oracle.COM>
Thu, 19 Jun 2014 13:54:21 -0700
changeset 1954 32663e59626d
parent 1914 00e8dbcb9b1e
child 2028 6fa8f5812e20
permissions -rw-r--r--
19004605 update Python 2.7 line to version 2.7.7

#
# This patch makes the pyconfig.h header file 32/64 bit friendly.
# As it is Solaris-specific, it is not suitable for upstream.
#
--- Python-2.7.7/configure.ac.~1~       2014-05-31 11:58:40.000000000 -0700
+++ Python-2.7.7/configure.ac   2014-06-02 10:43:06.642237312 -0700
@@ -5,7 +5,7 @@
 # Set VERSION so we only need to edit in one place (i.e., here)
 m4_define(PYTHON_VERSION, 2.7)
 
-AC_PREREQ(2.65)
+AC_PREREQ(2.68)
 
 AC_REVISION($Revision$)
 AC_INIT(python, PYTHON_VERSION, http://bugs.python.org/)
@@ -2079,12 +2079,6 @@
 if test -z "$CCSHARED"
 then
 	case $ac_sys_system/$ac_sys_release in
-	SunOS*) if test "$GCC" = yes;
-		then CCSHARED="-fPIC";
-		elif test `uname -p` = sparc;
-		then CCSHARED="-xcode=pic32";
-		else CCSHARED="-Kpic";
-		fi;;
 	hp*|HP*) if test "$GCC" = yes;
 		 then CCSHARED="-fPIC";
 		 else CCSHARED="+z";