mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-20 00:21:35 +00:00
editors/tea: unbreak with hunspell 1.5
spellchecker.cpp:339:12: error: assigning to 'char *' from incompatible type 'const char *' encoding = speller->get_dic_encoding(); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ https://github.com/hunspell/hunspell/commit/971f8a9cf52e PR: 214837 Approved by: portmgr blanket
This commit is contained in:
parent
9e5e83573b
commit
f72d959f57
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=427162
11
editors/tea/files/patch-spellchecker.h
Normal file
11
editors/tea/files/patch-spellchecker.h
Normal file
@ -0,0 +1,11 @@
|
||||
--- spellchecker.h.orig 2016-09-16 19:56:10 UTC
|
||||
+++ spellchecker.h
|
||||
@@ -100,7 +100,7 @@ public:
|
||||
QString user_dir;
|
||||
QString lng;
|
||||
|
||||
- char *encoding;
|
||||
+ const char *encoding;
|
||||
QString dict_dir;
|
||||
|
||||
CHunspellChecker (const QString &lang, const QString &path = "", const QString &user_path = "");
|
Loading…
Reference in New Issue
Block a user