components/python/python27/patches/00-bits.patch
author John Beck <John.Beck@Oracle.COM>
Tue, 29 Jul 2014 08:41:01 -0700
changeset 2028 6fa8f5812e20
parent 1954 32663e59626d
child 3555 76f4672c5e4b
permissions -rw-r--r--
19308541 update Python 2.7 line to version 2.7.8 19284990 python 2.7.7 segfaults while under memory stress

#
# 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.8/configure.ac.~1~	2014-06-29 19:05:48.000000000 -0700
+++ Python-2.7.8/configure.ac	2014-07-17 20:31:45.866247571 -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/)
@@ -2092,12 +2092,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";