From cfb276af6b6b2ea313261cf5caee0d246e16b7df Mon Sep 17 00:00:00 2001
From: Lucas Carvalho <lucas@nexedi.com>
Date: Wed, 11 Aug 2010 17:56:22 +0000
Subject: [PATCH] This patch fix an issue which happens under Fedora 13, which
 during the iulib compilation it does not find libtiff-devel even if you have
 it installed.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@37719 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 buildout/software-profiles/ocropus.cfg | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/buildout/software-profiles/ocropus.cfg b/buildout/software-profiles/ocropus.cfg
index 1f5a9c2f9c..7228a6045c 100644
--- a/buildout/software-profiles/ocropus.cfg
+++ b/buildout/software-profiles/ocropus.cfg
@@ -21,10 +21,20 @@ patch-options = -p1
 environment =
   LDFLAGS =
 
+[iulib-patch-scons]
+recipe = hexagonit.recipe.download
+download-only = true
+filename = iulib.SConstruct-local-installation.patch
+url = http://www.nexedi.org/static/patches/${:filename}
+md5sum = dbbdf909814fb84ffe47e2ff59980db7
+
 [iulib]
 recipe = hexagonit.recipe.cmmi
 url = http://www.nexedi.org/static/packages/source/ocropus/iulib-0.4.4.tar.gz
 md5sum = 3d9754dbd64c56029ce1cd7c2f61894c
+# workaround http://code.google.com/p/iulib/issues/detail?id=27
+patches = ${iulib-patch-scons:location}/${iulib-patch-scons:filename}
+patch-options = -p1
 
 [requirements]
 development =
-- 
2.30.9