aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2006-03-16 23:42:49 +0800
committerpav <pav@FreeBSD.org>2006-03-16 23:42:49 +0800
commitda06ffc1c39c4cefeced501cad185623b713df33 (patch)
tree96dcdd0a8992de861a121a18bc69e6cc527af408 /textproc
parent66f3b0480787ba14eadf2e55161bf72b32b6fc84 (diff)
downloadfreebsd-ports-gnome-da06ffc1c39c4cefeced501cad185623b713df33.tar.gz
freebsd-ports-gnome-da06ffc1c39c4cefeced501cad185623b713df33.tar.zst
freebsd-ports-gnome-da06ffc1c39c4cefeced501cad185623b713df33.zip
- Fix build on FreeBSD 4.X
PR: ports/94536 Submitted by: Tod McQuillin <devin@spamcop.net>
Diffstat (limited to 'textproc')
-rw-r--r--textproc/enchant/files/patch-src_enchant.c18
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 000000000000..4c6c54b38a17
--- /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)
+ {