diff options
author | pav <pav@FreeBSD.org> | 2006-03-16 15:42:49 +0000 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2006-03-16 15:42:49 +0000 |
commit | da06ffc1c39c4cefeced501cad185623b713df33 (patch) | |
tree | 96dcdd0a8992de861a121a18bc69e6cc527af408 /textproc/enchant | |
parent | 66f3b0480787ba14eadf2e55161bf72b32b6fc84 (diff) | |
download | FreeBSD-ports-da06ffc1c39c4cefeced501cad185623b713df33.zip FreeBSD-ports-da06ffc1c39c4cefeced501cad185623b713df33.tar.gz |
- Fix build on FreeBSD 4.X
PR: ports/94536
Submitted by: Tod McQuillin <devin@spamcop.net>
Diffstat (limited to 'textproc/enchant')
-rw-r--r-- | textproc/enchant/files/patch-src_enchant.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/textproc/enchant/files/patch-src_enchant.c b/textproc/enchant/files/patch-src_enchant.c new file mode 100644 index 0000000..4c6c54b --- /dev/null +++ b/textproc/enchant/files/patch-src_enchant.c @@ -0,0 +1,18 @@ +--- src/enchant.c- Thu Mar 16 14:48:20 2006 ++++ src/enchant.c Thu Mar 16 14:50:03 2006 +@@ -125,6 +125,7 @@ + enchant_get_module_dir (void) + { + char * module_dir = NULL; ++ char * prefix = NULL; + + #ifdef XP_TARGET_COCOA + return g_strdup ([[EnchantResourceProvider instance] moduleFolder]); +@@ -136,7 +137,6 @@ + return module_dir; + + /* Dynamically locate library and search for modules relative to it. */ +- char * prefix = NULL; + prefix = enchant_get_prefix_dir(); + if(prefix) + { |