View | Details | Raw Unified | Return to bug 92231 | Differences between
and this patch

Collapse All | Expand All

(-)distinfo (-2 / +3 lines)
Lines 1-2 Link Here
1
MD5 (libsexy-0.1.3.1.tar.gz) = bffbbfb23d4b8560517e2beb59a3a4a0
1
MD5 (libsexy-0.1.5.tar.gz) = e726d86193aa963221a9797f6d6b4288
2
SIZE (libsexy-0.1.3.1.tar.gz) = 314762
2
SHA256 (libsexy-0.1.5.tar.gz) = 2d2d0748b097ec5bafe1303d9320df59244667e0fee85c09ac9307df8c1301c5
3
SIZE (libsexy-0.1.5.tar.gz) = 331558
(-)files/patch-libsexy-sexy-spell-entry.c (-12 / +23 lines)
Lines 1-37 Link Here
1
--- libsexy/sexy-spell-entry.c.orig	Fri Oct 14 20:20:45 2005
1
--- libsexy/sexy-spell-entry.c.orig	Wed Nov 16 04:45:57 2005
2
+++ libsexy/sexy-spell-entry.c	Sun Nov 13 13:21:06 2005
2
+++ libsexy/sexy-spell-entry.c	Thu Jan 12 00:57:57 2006
3
@@ -799,12 +799,14 @@
3
@@ -880,10 +880,10 @@
4
 static gchar *
5
 get_lang_from_dict(struct EnchantDict *dict)
6
 {
7
+	gchar *lang;
8
 	if (!have_enchant)
9
 		return NULL;
10
 
11
-	gchar *lang;
12
 	enchant_dict_describe(dict, get_lang_from_dict_cb, &lang);
13
 	return lang;
14
 }
15
@@ -938,14 +938,14 @@
4
 GSList *
16
 GSList *
5
 sexy_spell_entry_get_languages(const SexySpellEntry *entry)
17
 sexy_spell_entry_get_languages(const SexySpellEntry *entry)
6
 {
18
 {
7
+#ifdef HAVE_ENCHANT_BROKER_LIST_DICTS
8
+	GSList *langs = NULL;
19
+	GSList *langs = NULL;
9
+#endif
10
+
20
+
11
 	g_return_val_if_fail(entry != NULL, NULL);
21
 	g_return_val_if_fail(entry != NULL, NULL);
12
 	g_return_val_if_fail(SEXY_IS_SPELL_ENTRY(entry), NULL);
22
 	g_return_val_if_fail(SEXY_IS_SPELL_ENTRY(entry), NULL);
13
 
23
 
14
 #ifdef HAVE_ENCHANT_BROKER_LIST_DICTS
24
 	if (enchant_broker_list_dicts == NULL)
25
 		return NULL;
26
 
15
-	GSList *langs = NULL;
27
-	GSList *langs = NULL;
16
-
28
-
17
 	if (!entry->priv->broker)
29
 	if (!entry->priv->broker)
18
 		return NULL;
30
 		return NULL;
19
 
31
 
20
@@ -866,13 +868,15 @@
32
@@ -1002,14 +1002,14 @@
21
 gboolean
33
 gboolean
22
 sexy_spell_entry_activate_language(SexySpellEntry *entry, const gchar *lang, GError **error)
34
 sexy_spell_entry_activate_language(SexySpellEntry *entry, const gchar *lang, GError **error)
23
 {
35
 {
24
+#ifdef HAVE_ENCHANT
25
+	gboolean ret;
36
+	gboolean ret;
26
+#endif
27
+
37
+
28
 	g_return_val_if_fail(entry != NULL, FALSE);
38
 	g_return_val_if_fail(entry != NULL, FALSE);
29
 	g_return_val_if_fail(SEXY_IS_SPELL_ENTRY(entry), FALSE);
39
 	g_return_val_if_fail(SEXY_IS_SPELL_ENTRY(entry), FALSE);
30
 	g_return_val_if_fail(lang != NULL && lang != '\0', FALSE);
40
 	g_return_val_if_fail(lang != NULL && lang != '\0', FALSE);
31
 
41
 
32
 #ifdef HAVE_ENCHANT
42
 	if (!have_enchant)
43
 		return FALSE;
44
-
33
-	gboolean ret;
45
-	gboolean ret;
34
-
46
 
35
 	if (error)
47
 	if (error)
36
 		g_return_val_if_fail(*error == NULL, FALSE);
48
 		g_return_val_if_fail(*error == NULL, FALSE);
37
 
(-)Makefile (-2 / +1 lines)
Lines 6-13 Link Here
6
#
6
#
7
7
8
PORTNAME=		libsexy
8
PORTNAME=		libsexy
9
PORTVERSION=		0.1.3.1
9
PORTVERSION=		0.1.5
10
PORTREVISION=		1
11
CATEGORIES=		x11-toolkits devel
10
CATEGORIES=		x11-toolkits devel
12
MASTER_SITES=		http://osiris.chipx86.com/projects/libsexy/releases/
11
MASTER_SITES=		http://osiris.chipx86.com/projects/libsexy/releases/

Return to bug 92231