Gentoo Archives: gentoo-commits

From: "Serkan Kaba (serkan)" <serkan@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in x11-libs/libsexy/files: libsexy-0.1.11-fix-null-list.patch
Date: Sun, 31 May 2009 16:24:50
Message-Id: E1MAnq2-0005H0-W3@stork.gentoo.org
1 serkan 09/05/31 16:24:46
2
3 Added: libsexy-0.1.11-fix-null-list.patch
4 Log:
5 Revbump to fix critical error. Closes bug #270179
6 (Portage version: 2.2_rc33/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.1 x11-libs/libsexy/files/libsexy-0.1.11-fix-null-list.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/libsexy/files/libsexy-0.1.11-fix-null-list.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/libsexy/files/libsexy-0.1.11-fix-null-list.patch?rev=1.1&content-type=text/plain
13
14 Index: libsexy-0.1.11-fix-null-list.patch
15 ===================================================================
16 diff -Nur libsexy-0.1.11/libsexy/sexy-spell-entry.c libsexy-0.1.11_patched/libsexy/sexy-spell-entry.c
17 --- libsexy-0.1.11/libsexy/sexy-spell-entry.c 2006-08-17 21:11:09.000000000 +0300
18 +++ libsexy-0.1.11_patched/libsexy/sexy-spell-entry.c 2009-05-17 15:15:25.000000000 +0300
19 @@ -56,7 +56,7 @@
20 static void (*enchant_dict_add_to_session) (struct EnchantDict * dict, const char *const word, ssize_t len);
21 static int (*enchant_dict_check) (struct EnchantDict * dict, const char *const word, ssize_t len);
22 static void (*enchant_dict_describe) (struct EnchantDict * dict, EnchantDictDescribeFn fn, void * user_data);
23 -static void (*enchant_dict_free_suggestions) (struct EnchantDict * dict, char **suggestions);
24 +static void (*enchant_dict_free_string_list) (struct EnchantDict * dict, char **suggestions);
25 static void (*enchant_dict_store_replacement) (struct EnchantDict * dict, const char *const mis, ssize_t mis_len, const char *const cor, ssize_t cor_len);
26 static char ** (*enchant_dict_suggest) (struct EnchantDict * dict, const char *const word, ssize_t len, size_t * out_n_suggs);
27 static gboolean have_enchant = FALSE;
28 @@ -156,8 +156,8 @@
29 MODULE_SYMBOL("enchant_dict_add_to_session", enchant_dict_add_to_session)
30 MODULE_SYMBOL("enchant_dict_check", enchant_dict_check)
31 MODULE_SYMBOL("enchant_dict_describe", enchant_dict_describe)
32 - MODULE_SYMBOL("enchant_dict_free_suggestions",
33 - enchant_dict_free_suggestions)
34 + MODULE_SYMBOL("enchant_dict_free_string_list",
35 + enchant_dict_free_string_list)
36 MODULE_SYMBOL("enchant_dict_store_replacement",
37 enchant_dict_store_replacement)
38 MODULE_SYMBOL("enchant_dict_suggest", enchant_dict_suggest)
39 @@ -435,9 +435,8 @@
40 gtk_widget_show(mi);
41 gtk_menu_shell_append(GTK_MENU_SHELL(menu), mi);
42 }
43 + enchant_dict_free_string_list(dict, suggestions);
44 }
45 -
46 - enchant_dict_free_suggestions(dict, suggestions);
47 }
48
49 static GtkWidget *