[gedit] [osx] Make enchant work in non-bundle installation
- From: Jesse van den Kieboom <jessevdk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit] [osx] Make enchant work in non-bundle installation
- Date: Tue, 26 Aug 2014 19:20:31 +0000 (UTC)
commit db4fba3cb6589c8d4d4f621d7f4125391a78c187
Author: Jesse van den Kieboom <jessevdk gmail com>
Date: Tue Aug 26 21:20:10 2014 +0200
[osx] Make enchant work in non-bundle installation
.../updater/patches/enchant-relocatable.patch | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/osx/build/updater/patches/enchant-relocatable.patch
b/osx/build/updater/patches/enchant-relocatable.patch
index 9aee961..263e3a2 100644
--- a/osx/build/updater/patches/enchant-relocatable.patch
+++ b/osx/build/updater/patches/enchant-relocatable.patch
@@ -14,16 +14,17 @@
{
char* user_module_dir;
-@@ -239,7 +246,7 @@
+@@ -239,7 +246,8 @@
module_dirs = enchant_slist_append_unique_path (module_dirs, module_dir);
#if defined(ENCHANT_GLOBAL_MODULE_DIR)
++ if (envdir == NULL || *envdir == '\0')
- module_dirs = enchant_slist_append_unique_path (module_dirs, g_strdup (ENCHANT_GLOBAL_MODULE_DIR));
-+ /*module_dirs = enchant_slist_append_unique_path (module_dirs, g_strdup
(ENCHANT_GLOBAL_MODULE_DIR));*/
++ module_dirs = enchant_slist_append_unique_path (module_dirs, g_strdup
(ENCHANT_GLOBAL_MODULE_DIR));
#else
/* Dynamically locate library and search for modules relative to it. */
prefix = enchant_get_prefix_dir();
-@@ -278,6 +285,13 @@
+@@ -278,6 +286,13 @@
if (ordering_dir)
conf_dirs = enchant_slist_append_unique_path (conf_dirs, ordering_dir);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]