diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2005-11-13 12:28:04 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2005-11-13 12:28:04 +0000 |
commit | 983f48dd5f7860fc5b55cecb9397518f8de588bb (patch) | |
tree | 97098efdeda7bf1ef4479b70c576c013827bf8a5 /x11-toolkits/libsexy | |
parent | e5c2458f49436694c23ad2f1d13c514696d306d4 (diff) | |
download | ports-983f48dd5f7860fc5b55cecb9397518f8de588bb.tar.gz ports-983f48dd5f7860fc5b55cecb9397518f8de588bb.zip |
- Fix build on FreeBSD 4
Reported by: krismail
Notes
Notes:
svn path=/head/; revision=148096
Diffstat (limited to 'x11-toolkits/libsexy')
-rw-r--r-- | x11-toolkits/libsexy/files/patch-libsexy-sexy-spell-entry.c | 21 |
1 files changed, 19 insertions, 2 deletions
diff --git a/x11-toolkits/libsexy/files/patch-libsexy-sexy-spell-entry.c b/x11-toolkits/libsexy/files/patch-libsexy-sexy-spell-entry.c index 772775ecd66f..ab29fc724cf8 100644 --- a/x11-toolkits/libsexy/files/patch-libsexy-sexy-spell-entry.c +++ b/x11-toolkits/libsexy/files/patch-libsexy-sexy-spell-entry.c @@ -1,6 +1,23 @@ --- libsexy/sexy-spell-entry.c.orig Fri Oct 14 20:20:45 2005 -+++ libsexy/sexy-spell-entry.c Tue Nov 8 22:13:53 2005 -@@ -866,13 +866,15 @@ ++++ libsexy/sexy-spell-entry.c Sun Nov 13 13:21:06 2005 +@@ -799,12 +799,14 @@ + GSList * + sexy_spell_entry_get_languages(const SexySpellEntry *entry) + { ++#ifdef HAVE_ENCHANT_BROKER_LIST_DICTS ++ GSList *langs = NULL; ++#endif ++ + g_return_val_if_fail(entry != NULL, NULL); + g_return_val_if_fail(SEXY_IS_SPELL_ENTRY(entry), NULL); + + #ifdef HAVE_ENCHANT_BROKER_LIST_DICTS +- GSList *langs = NULL; +- + if (!entry->priv->broker) + return NULL; + +@@ -866,13 +868,15 @@ gboolean sexy_spell_entry_activate_language(SexySpellEntry *entry, const gchar *lang, GError **error) { |