1 --- AbiWord-release-3.0.6/configure.ac.orig
2 +++ AbiWord-release-3.0.6/configure.ac
7 -enchant_req='enchant >= 1.2.0'
8 +enchant_req='enchant-2'
10 goffice_req='libgoffice-0.10 >= 0.10.0'
12 --- AbiWord-release-3.0.6/src/af/xap/xp/enchant_checker.cpp.orig
13 +++ AbiWord-release-3.0.6/src/af/xap/xp/enchant_checker.cpp
15 pvSugg->addItem (ucszSugg);
18 - enchant_dict_free_suggestions (m_dict, suggestions);
19 + enchant_dict_free_string_list (m_dict, suggestions);
26 UT_UTF8String utf8 (word, len);
27 - enchant_dict_add_to_personal (m_dict, utf8.utf8_str(), utf8.byteLength());
28 + enchant_dict_add (m_dict, utf8.utf8_str(), utf8.byteLength());
33 UT_return_val_if_fail (m_dict, false);
35 UT_UTF8String ignore (toCorrect, toCorrectLen);
36 - return enchant_dict_is_in_session (m_dict, ignore.utf8_str(), ignore.byteLength()) != 0;
37 + return enchant_dict_is_added (m_dict, ignore.utf8_str(), ignore.byteLength()) != 0;
40 void EnchantChecker::ignoreWord (const UT_UCSChar *toCorrect, size_t toCorrectLen)