diff options
author | pav <pav@FreeBSD.org> | 2006-01-24 19:40:46 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2006-01-24 19:40:46 +0800 |
commit | 4401ecd625c933a7d1cf0a90143343a1039c80c4 (patch) | |
tree | 236311de58a99de823ccf8da541ba54e4d361995 /x11-toolkits/libsexy | |
parent | b6566eeaa74b23c73080ffd8ea84f894407f77d7 (diff) | |
download | freebsd-ports-gnome-4401ecd625c933a7d1cf0a90143343a1039c80c4.tar.gz freebsd-ports-gnome-4401ecd625c933a7d1cf0a90143343a1039c80c4.tar.zst freebsd-ports-gnome-4401ecd625c933a7d1cf0a90143343a1039c80c4.zip |
- Update to 0.1.5
PR: ports/92231
Submitted by: Andreas Kohn <andreas@syndrom23.de> (maintainer)
Diffstat (limited to 'x11-toolkits/libsexy')
-rw-r--r-- | x11-toolkits/libsexy/Makefile | 3 | ||||
-rw-r--r-- | x11-toolkits/libsexy/distinfo | 5 | ||||
-rw-r--r-- | x11-toolkits/libsexy/files/patch-libsexy-sexy-spell-entry.c | 35 |
3 files changed, 27 insertions, 16 deletions
diff --git a/x11-toolkits/libsexy/Makefile b/x11-toolkits/libsexy/Makefile index e9969b65e49f..76ae19e3a37b 100644 --- a/x11-toolkits/libsexy/Makefile +++ b/x11-toolkits/libsexy/Makefile @@ -6,8 +6,7 @@ # PORTNAME= libsexy -PORTVERSION= 0.1.3.1 -PORTREVISION= 1 +PORTVERSION= 0.1.5 CATEGORIES= x11-toolkits devel MASTER_SITES= http://osiris.chipx86.com/projects/libsexy/releases/ diff --git a/x11-toolkits/libsexy/distinfo b/x11-toolkits/libsexy/distinfo index d59c08e20301..f62dccf1e3fd 100644 --- a/x11-toolkits/libsexy/distinfo +++ b/x11-toolkits/libsexy/distinfo @@ -1,3 +1,4 @@ -MD5 (libsexy-0.1.3.1.tar.gz) = bffbbfb23d4b8560517e2beb59a3a4a0 -SHA256 (libsexy-0.1.3.1.tar.gz) = f0e2701fbef7ae3057896844a53efc8ad6ad4a329cbd637c276604fab54d320a +MD5 (libsexy-0.1.5.tar.gz) = e726d86193aa963221a9797f6d6b4288 +SHA256 (libsexy-0.1.5.tar.gz) = 2d2d0748b097ec5bafe1303d9320df59244667e0fee85c09ac9307df8c1301c5 +SIZE (libsexy-0.1.5.tar.gz) = 331558 SIZE (libsexy-0.1.3.1.tar.gz) = 314762 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 ab29fc724cf8..74a3f9bc922b 100644 --- a/x11-toolkits/libsexy/files/patch-libsexy-sexy-spell-entry.c +++ b/x11-toolkits/libsexy/files/patch-libsexy-sexy-spell-entry.c @@ -1,37 +1,48 @@ ---- libsexy/sexy-spell-entry.c.orig Fri Oct 14 20:20:45 2005 -+++ libsexy/sexy-spell-entry.c Sun Nov 13 13:21:06 2005 -@@ -799,12 +799,14 @@ +--- libsexy/sexy-spell-entry.c.orig Wed Nov 16 04:45:57 2005 ++++ libsexy/sexy-spell-entry.c Thu Jan 12 00:57:57 2006 +@@ -880,10 +880,10 @@ + static gchar * + get_lang_from_dict(struct EnchantDict *dict) + { ++ gchar *lang; + if (!have_enchant) + return NULL; + +- gchar *lang; + enchant_dict_describe(dict, get_lang_from_dict_cb, &lang); + return lang; + } +@@ -938,14 +938,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 + if (enchant_broker_list_dicts == NULL) + return NULL; + - GSList *langs = NULL; - if (!entry->priv->broker) return NULL; -@@ -866,13 +868,15 @@ +@@ -1002,14 +1002,14 @@ gboolean sexy_spell_entry_activate_language(SexySpellEntry *entry, const gchar *lang, GError **error) { -+#ifdef HAVE_ENCHANT + gboolean ret; -+#endif + g_return_val_if_fail(entry != NULL, FALSE); g_return_val_if_fail(SEXY_IS_SPELL_ENTRY(entry), FALSE); g_return_val_if_fail(lang != NULL && lang != '\0', FALSE); - #ifdef HAVE_ENCHANT -- gboolean ret; + if (!have_enchant) + return FALSE; - +- gboolean ret; + if (error) g_return_val_if_fail(*error == NULL, FALSE); - |