From 97496aae46d09babb4756df70349a56c0734d6a2 Mon Sep 17 00:00:00 2001
From: Arnaud Fontaine <arnaud.fontaine@nexedi.com>
Date: Mon, 7 Mar 2011 14:48:58 +0000
Subject: [PATCH] Apply python2.4-no_system_inc_dirs-patch and
 python2.4-CPPFLAGS-patch patches

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@44018 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 buildout/buildout.cfg                     |  1 +
 buildout/profiles/official.cfg            |  1 +
 buildout/software-profiles/python-2.4.cfg | 17 +++++++++++++++++
 3 files changed, 19 insertions(+)

diff --git a/buildout/buildout.cfg b/buildout/buildout.cfg
index 83a9dc529d..652d6b4452 100644
--- a/buildout/buildout.cfg
+++ b/buildout/buildout.cfg
@@ -5,3 +5,4 @@ extends =
   profiles/development.cfg
   profiles/official.cfg
 unzip = true
+ignore-existing = true
\ No newline at end of file
diff --git a/buildout/profiles/official.cfg b/buildout/profiles/official.cfg
index b8eed04979..9841bf043a 100644
--- a/buildout/profiles/official.cfg
+++ b/buildout/profiles/official.cfg
@@ -94,6 +94,7 @@ python = buildout
 # This is first version of python
 version = 1
 section = python2.4
+developer-mode = true
 
 [software_definition]
 software_home = ${buildout:directory}
diff --git a/buildout/software-profiles/python-2.4.cfg b/buildout/software-profiles/python-2.4.cfg
index 6e0ba07f0e..50ffc64ecf 100644
--- a/buildout/software-profiles/python-2.4.cfg
+++ b/buildout/software-profiles/python-2.4.cfg
@@ -20,6 +20,20 @@ md5sum = 8611020af1463b42f253ac73a91b09a1
 download-only = true
 filename = python2.4-dbm.patch
 
+[python2.4-no_system_inc_dirs-patch]
+recipe = hexagonit.recipe.download
+url = http://www.nexedi.org/static/patches/${:filename}
+md5sum = 65c1193ac42c15109be0e6f9b7a671b8
+download-only = true
+filename = python2.4-no_system_inc_dirs.patch
+
+[python2.4-CPPFLAGS-patch]
+recipe = hexagonit.recipe.download
+url = http://www.nexedi.org/static/patches/${:filename}
+md5sum = 912b6d4b107e3f382995a4d3afcd3eca
+download-only = true
+filename = python2.4-backport-CPPFLAGS-setup-from-python2.6.patch
+
 [python2.4]
 recipe = hexagonit.recipe.cmmi
 # This is actually the default setting for prefix, but we can't use it in
@@ -36,6 +50,9 @@ url =
   http://python.org/ftp/python/${:python_version_full}/Python-${:python_version_full}.tgz
 patches =
 	${python2.4-dbm-patch:location}/${python2.4-dbm-patch:filename}
+        ${python2.4-no_system_inc_dirs-patch:location}/${python2.4-no_system_inc_dirs-patch:filename}
+        ${python2.4-CPPFLAGS-patch:location}/${python2.4-CPPFLAGS-patch:filename}
+
 configure-options =
   --enable-unicode=ucs4
   --with-threads
-- 
2.30.9