From b419751ce9fa528f5def531deb22baa6d24fc7ae Mon Sep 17 00:00:00 2001
From: Kazuhiko Shiozaki <kazuhiko@nexedi.com>
Date: Wed, 25 Aug 2010 05:57:19 +0000
Subject: [PATCH] support more stemming algorithms from
 http://snowball.tartarus.org/ .

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

diff --git a/buildout/software-profiles/sphinx.cfg b/buildout/software-profiles/sphinx.cfg
index 6a43a408b7..b19df2100d 100644
--- a/buildout/software-profiles/sphinx.cfg
+++ b/buildout/software-profiles/sphinx.cfg
@@ -8,6 +8,14 @@ md5sum = fee62e08ff2b4e546a2058225f18e31d
 download-only = true
 filename = sphinx-1.10-fix_nosigpipe.patch
 
+[sphinx-1.10-beta-snowball.patch]
+recipe = hexagonit.recipe.download
+url = http://www.nexedi.org/static/patches/${:filename}
+path = ${:filename}
+md5sum = 65a5ee78bf27c030734674c018006287
+download-only = true
+filename = sphinx-1.10-beta-snowball.patch
+
 [sphinx]
 recipe = hexagonit.recipe.cmmi
 url = http://www.sphinxsearch.com/downloads/sphinx-1.10-beta.tar.gz
@@ -16,10 +24,12 @@ configure-options =
   --with-mysql
   --with-mysql-includes=${mysql-5.1:location}/include/mysql
   --with-mysql-libs=${mysql-5.1:location}/lib/mysql
+  --with-libstemmer
   LDFLAGS="-Wl,-rpath ${mysql-5.1:location}/lib/mysql"
 patch-options = -p1
 patches =
   ${sphinx-1.10-fix_nosigpipe.patch:location}/${sphinx-1.10-fix_nosigpipe.patch:filename}
+  ${sphinx-1.10-beta-snowball.patch:location}/${sphinx-1.10-beta-snowball.patch:filename}
 environment =
 
 [requirements]
-- 
2.30.9