dovecot-2.2: lib-fts: Fix compilation for systems without libste...
dovecot at dovecot.org
dovecot at dovecot.org
Fri Nov 20 10:51:53 UTC 2015
details: http://hg.dovecot.org/dovecot-2.2/rev/194e3622d5e6
changeset: 19405:194e3622d5e6
user: Teemu Huovila <teemu.huovila at dovecot.fi>
date: Wed Nov 18 16:33:26 2015 +0200
description:
lib-fts: Fix compilation for systems without libstemmer.
diffstat:
src/lib-fts/test-fts-filter.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diffs (13 lines):
diff -r 7b93d5d71f2e -r 194e3622d5e6 src/lib-fts/test-fts-filter.c
--- a/src/lib-fts/test-fts-filter.c Wed Nov 18 16:33:26 2015 +0200
+++ b/src/lib-fts/test-fts-filter.c Wed Nov 18 16:33:26 2015 +0200
@@ -14,7 +14,9 @@
static struct fts_language english_language = { .name = "en" };
static struct fts_language french_language = { .name = "fr" };
static struct fts_language norwegian_language = { .name = "no" };
+#ifdef HAVE_FTS_STEMMER
static struct fts_language swedish_language = { .name = "sv" };
+#endif
static void test_fts_filter_find(void)
{
More information about the dovecot-cvs
mailing list