Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:sschapiro:openstack:upstream
enchant
enchant-1.5.0-abi12160.searchdirs.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File enchant-1.5.0-abi12160.searchdirs.patch of Package enchant
diff -ru enchant-1.5.0.orig/src/enchant.c enchant-1.5.0/src/enchant.c --- enchant-1.5.0.orig/src/enchant.c 2009-06-22 11:53:16.000000000 +0100 +++ enchant-1.5.0/src/enchant.c 2009-06-22 11:53:39.000000000 +0100 @@ -232,6 +232,9 @@ if (module_dir) module_dirs = enchant_slist_append_unique_string (module_dirs, module_dir); +#if defined(ENCHANT_GLOBAL_MODULE_DIR) + module_dirs = enchant_slist_append_unique_string (module_dirs, g_strdup (ENCHANT_GLOBAL_MODULE_DIR)); +#else /* Dynamically locate library and search for modules relative to it. */ prefix = enchant_get_prefix_dir(); if(prefix) @@ -240,9 +243,6 @@ g_free(prefix); module_dirs = enchant_slist_append_unique_string (module_dirs, module_dir); } - -#if defined(ENCHANT_GLOBAL_MODULE_DIR) - module_dirs = enchant_slist_append_unique_string (module_dirs, g_strdup (ENCHANT_GLOBAL_MODULE_DIR)); #endif return module_dirs;
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor