components/python/python34/patches/15-include.patch
author John Beck <John.Beck@Oracle.COM>
Fri, 06 Feb 2015 16:50:21 -0800
branchs11-update
changeset 3796 82cd21906ac2
parent 3786 fa9d2da4d216
permissions -rw-r--r--
20494432 skip Python test_gdb for version 3.4
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
3778
35735ffdda43 PSARC 2014/151 Python 3.4
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
     1
On Solaris pyconfig.h is delivered in the normal python header directory.
35735ffdda43 PSARC 2014/151 Python 3.4
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
     2
As this is Solaris-specific, it is not suitable for upstream.
35735ffdda43 PSARC 2014/151 Python 3.4
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
     3
3786
fa9d2da4d216 19782913 update Python to 3.4.2
John Beck <John.Beck@Oracle.COM>
parents: 3778
diff changeset
     4
--- Python-3.4.2/Lib/distutils/sysconfig.py.~1~	2014-09-22 05:56:59.000000000 -0700
fa9d2da4d216 19782913 update Python to 3.4.2
John Beck <John.Beck@Oracle.COM>
parents: 3778
diff changeset
     5
+++ Python-3.4.2/Lib/distutils/sysconfig.py	2014-09-22 14:20:16.045987560 -0700
fa9d2da4d216 19782913 update Python to 3.4.2
John Beck <John.Beck@Oracle.COM>
parents: 3778
diff changeset
     6
@@ -240,7 +240,7 @@
3778
35735ffdda43 PSARC 2014/151 Python 3.4
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
     7
         else:
35735ffdda43 PSARC 2014/151 Python 3.4
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
     8
             inc_dir = _sys_home or project_base
35735ffdda43 PSARC 2014/151 Python 3.4
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
     9
     else:
35735ffdda43 PSARC 2014/151 Python 3.4
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    10
-        inc_dir = get_python_inc(plat_specific=1)
35735ffdda43 PSARC 2014/151 Python 3.4
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    11
+        inc_dir = get_python_inc(plat_specific=0)
3786
fa9d2da4d216 19782913 update Python to 3.4.2
John Beck <John.Beck@Oracle.COM>
parents: 3778
diff changeset
    12
 
fa9d2da4d216 19782913 update Python to 3.4.2
John Beck <John.Beck@Oracle.COM>
parents: 3778
diff changeset
    13
     return os.path.join(inc_dir, 'pyconfig.h')
fa9d2da4d216 19782913 update Python to 3.4.2
John Beck <John.Beck@Oracle.COM>
parents: 3778
diff changeset
    14