diff options
author | kwm <kwm@FreeBSD.org> | 2009-12-18 19:34:35 +0800 |
---|---|---|
committer | kwm <kwm@FreeBSD.org> | 2009-12-18 19:34:35 +0800 |
commit | cff040913b4052d5d7d779a7e90df171d8a16d3b (patch) | |
tree | 8dfddb7c45f4eb8c6f6bf9ccda67297d29942734 /www | |
parent | 08a97bd395b2558e8ba271a18485faa6c9558543 (diff) | |
download | freebsd-ports-gnome-cff040913b4052d5d7d779a7e90df171d8a16d3b.tar.gz freebsd-ports-gnome-cff040913b4052d5d7d779a7e90df171d8a16d3b.tar.zst freebsd-ports-gnome-cff040913b4052d5d7d779a7e90df171d8a16d3b.zip |
Fix patching.
Submitted by: QAT
Diffstat (limited to 'www')
-rw-r--r-- | www/epiphany/files/patch-lib_ephy-spell-check.c | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/www/epiphany/files/patch-lib_ephy-spell-check.c b/www/epiphany/files/patch-lib_ephy-spell-check.c index 4b2c2f3721e4..bd68a07d94df 100644 --- a/www/epiphany/files/patch-lib_ephy-spell-check.c +++ b/www/epiphany/files/patch-lib_ephy-spell-check.c @@ -18,23 +18,3 @@ } static void ---- lib/ephy-spell-check.c.orig 2008-03-17 00:41:47.000000000 -0400 -+++ lib/ephy-spell-check.c 2008-03-17 00:47:22.000000000 -0400 -@@ -69,8 +69,15 @@ ephy_spell_check_init (EphySpellCheck *s - priv->dict = enchant_broker_request_dict (priv->broker, *locale); - if (priv->dict != NULL) break; - } -- if (priv->dict == NULL) -- g_warning (enchant_broker_get_error (priv->broker)); -+ if (priv->dict == NULL) { -+ g_warning ("No dictionary found for current locale; trying 'en'"); -+ priv->dict = enchant_broker_request_dict (priv->broker, "en"); -+ -+ if (priv->dict == NULL) { -+ g_warning (enchant_broker_get_error (priv->broker)); -+ g_warning ("No dictionary found; expect a crash until LANG is properly set"); -+ } -+ } - } - - static void |