aboutsummaryrefslogtreecommitdiffstats
path: root/editors
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2012-07-16 18:30:27 +0800
committerbapt <bapt@FreeBSD.org>2012-07-16 18:30:27 +0800
commite02bbdebd199f44e948f5bdc32788201ede81be5 (patch)
tree16e3e5689bf856428a442ac37c06610d54fecaab /editors
parent51114dbbf37434684b52df0d60a8e266fe59e6b7 (diff)
downloadfreebsd-ports-gnome-e02bbdebd199f44e948f5bdc32788201ede81be5.tar.gz
freebsd-ports-gnome-e02bbdebd199f44e948f5bdc32788201ede81be5.tar.zst
freebsd-ports-gnome-e02bbdebd199f44e948f5bdc32788201ede81be5.zip
Fix build with new libexttextcat
Submitted by: Olivier Smedts <olivier@gid0.org> (via ports@)
Diffstat (limited to 'editors')
-rw-r--r--editors/libreoffice/files/patch-lingucomponent_source_languageguessing_simplegusser.cxx11
1 files changed, 11 insertions, 0 deletions
diff --git a/editors/libreoffice/files/patch-lingucomponent_source_languageguessing_simplegusser.cxx b/editors/libreoffice/files/patch-lingucomponent_source_languageguessing_simplegusser.cxx
new file mode 100644
index 000000000000..46d3da68858a
--- /dev/null
+++ b/editors/libreoffice/files/patch-lingucomponent_source_languageguessing_simplegusser.cxx
@@ -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;