Created attachment 454480 [details] build.log libtool: compile: x86_64-pc-linux-gnu-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME =\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPA CKAGE_URL=\"\" -DPACKAGE=\"enchant\" -DVERSION=\"1.6.0\" -DSTDC_HEADERS=1 -DHAVE _SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_ME MORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_ H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_FLOCK=1 -DHAVE_LOCKF=1 -DHAVE _LOCALE_H=1 -DHAVE_LC_MESSAGES=1 -I. -I../../src -pthread -I/usr/include/glib-2. 0 -I/usr/lib64/glib-2.0/include -DENCHANT_PREFIX_DIR=\"/usr\" -DENCHANT_MYSPELL_ DICT_DIR=\"/usr/share/myspell/\" -Wall -Wextra -Wsign-compare -Wpointer-arith -W write-strings -Wpacked -Wswitch-enum -Wmissing-format-attribute -Wstrict-aliasin g=2 -Winit-self -Wunsafe-loop-optimizations -Wno-missing-field-initializers -Wno -unused-parameter -Wno-attributes -Wno-long-long -Winline -fno-strict-aliasing - DWITH_SYSTEM_MYSPELL -D_ENCHANT_BUILD=1 -march=native -mtune=native -O2 -pipe -c myspell_checker.cpp -fPIC -DPIC -o .libs/myspell_checker.o myspell_checker.cpp: In member function ‘bool MySpellChecker::checkWord(const char*, size_t)’: myspell_checker.cpp:173:26: warning: ‘int Hunspell::spell(const char*, int*, char**)’ is deprecated [-Wdeprecated-declarations] if (myspell->spell(word8)) ^ In file included from myspell_checker.cpp:50:0: /usr/include/hunspell/hunspell.hxx:130:20: note: declared here H_DEPRECATED int spell(const char* word, int* info = NULL, char** root = NULL ^ myspell_checker.cpp: In member function ‘char** MySpellChecker::suggestWord(const char*, size_t, size_t*)’: myspell_checker.cpp:201:40: warning: ‘int Hunspell::suggest(char***, const char*)’ is deprecated [-Wdeprecated-declarations] *nsug = myspell->suggest(&sugMS, word8); ^ In file included from myspell_checker.cpp:50:0: /usr/include/hunspell/hunspell.hxx:140:20: note: declared here H_DEPRECATED int suggest(char*** slst, const char* word); ^ myspell_checker.cpp: In member function ‘bool MySpellChecker::requestDictionary(const char*)’: myspell_checker.cpp:434:40: warning: ‘const char* Hunspell::get_dic_encoding() const’ is deprecated [-Wdeprecated-declarations] char *enc = myspell->get_dic_encoding(); ^ In file included from myspell_checker.cpp:50:0: /usr/include/hunspell/hunspell.hxx:157:28: note: declared here H_DEPRECATED const char* get_dic_encoding() const; ^ myspell_checker.cpp:434:39: error: invalid conversion from ‘const char*’ to ‘char*’ [-fpermissive] char *enc = myspell->get_dic_encoding(); ^ make[2]: *** [Makefile:552: myspell_checker.lo] Error 1 make[2]: Leaving directory '/var/tmp/portage/app-text/enchant-1.6.0/work/enchant-1.6.0/src/myspell' make[1]: *** [Makefile:551: all-recursive] Error 1 make[1]: Leaving directory '/var/tmp/portage/app-text/enchant-1.6.0/work/enchant-1.6.0/src' make: *** [Makefile:491: all-recursive] Error 1 * ERROR: app-text/enchant-1.6.0::gentoo failed (compile phase): * emake failed
[master 2637d65] app-text/enchant: Fix hunspell 1.5 support (#600952 by Lars Wendler) 2 files changed, 24 insertions(+), 10 deletions(-) create mode 100644 app-text/enchant/files/enchant-1.6.0-hunspell150_fix.patch