Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Nov 2016 12:30:53 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r427162 - head/editors/tea/files
Message-ID:  <201611261230.uAQCUrIk094103@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 = "");



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201611261230.uAQCUrIk094103>