1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-07 06:40:06 +00:00

- Fix build on FreeBSD 4.X

PR:		ports/94536
Submitted by:	Tod McQuillin <devin@spamcop.net>
This commit is contained in:
Pav Lucistnik 2006-03-16 15:42:49 +00:00
parent f06d9ba996
commit 1927a4daee
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=157429

View File

@ -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)
{