summaryrefslogtreecommitdiff
path: root/editors/tea
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2016-11-26 12:30:53 +0000
committerJan Beich <jbeich@FreeBSD.org>2016-11-26 12:30:53 +0000
commitf72d959f5769a78e891e898c5faea37242d6a457 (patch)
treebca7dbb3e82297ba7e6955fe78decf5d777eaa8f /editors/tea
parent9e5e83573b703ab27fd08e530b0c4baa8e8e72e0 (diff)
downloadfreebsd-ports-f72d959f5769a78e891e898c5faea37242d6a457.zip
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
Diffstat (limited to 'editors/tea')
-rw-r--r--editors/tea/files/patch-spellchecker.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/editors/tea/files/patch-spellchecker.h b/editors/tea/files/patch-spellchecker.h
new file mode 100644
index 000000000000..27fa5d4c0c30
--- /dev/null
+++ b/editors/tea/files/patch-spellchecker.h
@@ -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 = "");