aboutsummaryrefslogtreecommitdiffstats
path: root/editors
diff options
context:
space:
mode:
authorjbeich <jbeich@FreeBSD.org>2016-11-26 20:30:53 +0800
committerjbeich <jbeich@FreeBSD.org>2016-11-26 20:30:53 +0800
commit2ee7696b62245fc8b2c47b32dd5d2b072d9a129a (patch)
treebca7dbb3e82297ba7e6955fe78decf5d777eaa8f /editors
parent6f64881033ae606aacbb7910aa91cd827258da64 (diff)
downloadfreebsd-ports-graphics-2ee7696b62245fc8b2c47b32dd5d2b072d9a129a.tar.gz
freebsd-ports-graphics-2ee7696b62245fc8b2c47b32dd5d2b072d9a129a.tar.zst
freebsd-ports-graphics-2ee7696b62245fc8b2c47b32dd5d2b072d9a129a.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')
-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 00000000000..27fa5d4c0c3
--- /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 = "");