svn commit: r300937 - head/editors/libreoffice/files
Baptiste Daroussin
bapt at FreeBSD.org
Mon Jul 16 10:30:28 UTC 2012
Author: bapt
Date: Mon Jul 16 10:30:27 2012
New Revision: 300937
URL: http://svn.freebsd.org/changeset/ports/300937
Log:
Fix build with new libexttextcat
Submitted by: Olivier Smedts <olivier at gid0.org> (via ports@)
Added:
head/editors/libreoffice/files/patch-lingucomponent_source_languageguessing_simplegusser.cxx (contents, props changed)
Added: head/editors/libreoffice/files/patch-lingucomponent_source_languageguessing_simplegusser.cxx
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/editors/libreoffice/files/patch-lingucomponent_source_languageguessing_simplegusser.cxx Mon Jul 16 10:30:27 2012 (r300937)
@@ -0,0 +1,11 @@
+--- lingucomponent/source/languageguessing/simpleguesser.cxx.orig 2012-05-22 14:48:18.000000000 +0200
++++ lingucomponent/source/languageguessing/simpleguesser.cxx 2012-07-16 12:16:53.864632299 +0200
+@@ -118,7 +118,7 @@
+ return guesses;
+
+ //calculate le number of unicode charcters (symbols)
+- int len = utfstrlen(text);
++ int len = utf8_strlen(text);
+
+ if (len > MAX_STRING_LENGTH_TO_ANALYSE)
+ len = MAX_STRING_LENGTH_TO_ANALYSE;
More information about the svn-ports-head
mailing list