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
5 AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION)
6 AC_CONFIG_HEADERS([config.h])
9 +#SPELLER_LIB=-lenchant
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
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);