From 7b0dcec86c5455046c26524cf1a36c2e9df55fd9 Mon Sep 17 00:00:00 2001
From: Alexander Pyhalov <apyhalov@gmail.com>
Date: Sat, 13 Dec 2014 17:17:22 +0100
Subject: [PATCH] Update python-34  to 3.4.2. Enable pymalloc.

---
 components/python/python34/patches/15-include.patch |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/components/python/python34/patches/15-include.patch b/components/python/python34/patches/15-include.patch
index 441564e..070e2dc 100644
--- a/components/python/python34/patches/15-include.patch
+++ b/components/python/python34/patches/15-include.patch
@@ -1,14 +1,14 @@
 On Solaris pyconfig.h is delivered in the normal python header directory.
 As this is Solaris-specific, it is not suitable for upstream.
 
---- Python-3.4.0/Lib/distutils/sysconfig.py.~1~	2014-03-16 19:31:29.000000000 -0700
-+++ Python-3.4.0/Lib/distutils/sysconfig.py	2014-03-17 13:50:16.261084406 -0700
-@@ -242,7 +242,7 @@
+--- Python-3.4.2/Lib/distutils/sysconfig.py.~1~	2014-09-22 05:56:59.000000000 -0700
++++ Python-3.4.2/Lib/distutils/sysconfig.py	2014-09-22 14:20:16.045987560 -0700
+@@ -240,7 +240,7 @@
          else:
              inc_dir = _sys_home or project_base
      else:
 -        inc_dir = get_python_inc(plat_specific=1)
 +        inc_dir = get_python_inc(plat_specific=0)
-     if get_python_version() < '2.2':
-         config_h = 'config.h'
-     else:
+ 
+     return os.path.join(inc_dir, 'pyconfig.h')
+ 

--
Gitblit v1.9.3