svn commit: r427162 - head/editors/tea/files

Jan Beich jbeich at FreeBSD.org
Sat Nov 26 12:30:55 UTC 2016


Author: jbeich
Date: Sat Nov 26 12:30:53 2016
New Revision: 427162
URL: https://svnweb.freebsd.org/changeset/ports/427162

Log:
  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

Added:
  head/editors/tea/files/
  head/editors/tea/files/patch-spellchecker.h   (contents, props changed)

Added: head/editors/tea/files/patch-spellchecker.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/editors/tea/files/patch-spellchecker.h	Sat Nov 26 12:30:53 2016	(r427162)
@@ -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 = "");


More information about the svn-ports-all mailing list