From 953b97c7b2d7953e589df1b4c730f3baec06877b Mon Sep 17 00:00:00 2001
From: Vincent Pelletier <vincent@nexedi.com>
Date: Wed, 30 Mar 2011 14:11:58 +0000
Subject: [PATCH] Patch libXext to fix current release's linker error on (some)
 x86_64 platforms.

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

diff --git a/buildout/software-profiles/xorg.cfg b/buildout/software-profiles/xorg.cfg
index 1672692724..077b42d189 100644
--- a/buildout/software-profiles/xorg.cfg
+++ b/buildout/software-profiles/xorg.cfg
@@ -93,6 +93,17 @@ environment =
 # CFLAGS=-fPIC
 configure-options =
   --disable-specs
+patches =
+  ${libXext-patch-link-error:location}/${libXext-patch-link-error:filename}
+patch-options = -p1
+
+[libXext-patch-link-error]
+# Fixes libXext.la link error
+recipe = hexagonit.recipe.download
+url = http://cgit.freedesktop.org/xorg/lib/libXext/patch/?id=700c7896b832d6e4fb0185f0d5382b01f94e7141
+download-only = true
+filename = 700c7896b832d6e4fb0185f0d5382b01f94e7141.patch
+md5sum = 52635ef694ee6f1acb642a77ee8eb010
 
 [libX11]
 recipe = hexagonit.recipe.cmmi
-- 
2.30.9