dovecot-2.2: lib-fts: Fix compilation for systems without libicu.
dovecot at dovecot.org
dovecot at dovecot.org
Wed Nov 25 13:10:12 UTC 2015
details: http://hg.dovecot.org/dovecot-2.2/rev/6dafc8b24681
changeset: 19417:6dafc8b24681
user: Teemu Huovila <teemu.huovila at dovecot.fi>
date: Wed Nov 25 15:09:52 2015 +0200
description:
lib-fts: Fix compilation for systems without libicu.
The earlier patch, 194e3622d5e6, did not consider both library dependencies.
diffstat:
src/lib-fts/test-fts-filter.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r d204b943dd21 -r 6dafc8b24681 src/lib-fts/test-fts-filter.c
--- a/src/lib-fts/test-fts-filter.c Tue Nov 24 13:42:58 2015 +0200
+++ b/src/lib-fts/test-fts-filter.c Wed Nov 25 15:09:52 2015 +0200
@@ -14,7 +14,7 @@
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
+#if defined(HAVE_LIBICU) && defined(HAVE_FTS_STEMMER)
static struct fts_language swedish_language = { .name = "sv" };
#endif
More information about the dovecot-cvs
mailing list