Update Math-BigInt-FastCalc Perl distribution to 0.5018 for Perl 5.36 and 5.38
[oi-userland.git] / components / desktop / gtkspell / patches / 01-enchant-2.patch
blob59d3d0e3a01375ab86f61a463d7a18418e362b07
1 diff -ruN gtkspell-2.0.16.orig/configure.ac gtkspell-2.0.16/configure.ac
2 --- gtkspell-2.0.16.orig/configure.ac 2022-02-26 12:25:34.656153930 +0000
3 +++ gtkspell-2.0.16/configure.ac 2022-02-26 12:26:23.869247467 +0000
4 @@ -12,7 +12,7 @@
5 AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION)
6 AC_CONFIG_HEADERS([config.h])
8 -SPELLER_LIB=-lenchant
9 +#SPELLER_LIB=-lenchant
11 AC_SUBST(SPELLER_LIB)
12 GTKSPELL_PACKAGES=gtk+-2.0
13 diff -ruN gtkspell-2.0.16.orig/gtkspell/gtkspell.c gtkspell-2.0.16/gtkspell/gtkspell.c
14 --- gtkspell-2.0.16.orig/gtkspell/gtkspell.c 2009-10-09 21:01:47.000000000 +0000
15 +++ gtkspell-2.0.16/gtkspell/gtkspell.c 2022-02-26 12:26:10.060536084 +0000
16 @@ -277,7 +277,7 @@
17 get_word_extents_from_mark(spell->buffer, &start, &end, spell->mark_click);
18 word = gtk_text_buffer_get_text(spell->buffer, &start, &end, FALSE);
20 - enchant_dict_add_to_pwl( spell->speller, word, strlen(word));
21 + enchant_dict_add( spell->speller, word, strlen(word));
23 gtkspell_recheck_all(spell);