aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/libsexy
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2005-11-13 20:28:04 +0800
committerpav <pav@FreeBSD.org>2005-11-13 20:28:04 +0800
commitd69cfed7d132ae8cb4ad248e34c12a0abb323dee (patch)
tree6d3172b33950193615090130f18184f3cca694ce /x11-toolkits/libsexy
parent63e0d8d8201f8e705219bef738a93ec008cecda7 (diff)
downloadfreebsd-ports-gnome-d69cfed7d132ae8cb4ad248e34c12a0abb323dee.tar.gz
freebsd-ports-gnome-d69cfed7d132ae8cb4ad248e34c12a0abb323dee.tar.zst
freebsd-ports-gnome-d69cfed7d132ae8cb4ad248e34c12a0abb323dee.zip
- Fix build on FreeBSD 4
Reported by: krismail
Diffstat (limited to 'x11-toolkits/libsexy')
-rw-r--r--x11-toolkits/libsexy/files/patch-libsexy-sexy-spell-entry.c21
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)
{