summaryrefslogtreecommitdiff
path: root/editors/openoffice-3-devel/files
diff options
context:
space:
mode:
authorMaho Nakata <maho@FreeBSD.org>2012-08-14 21:33:05 +0000
committerMaho Nakata <maho@FreeBSD.org>2012-08-14 21:33:05 +0000
commit313192e015c973b4501222388628edae883c5807 (patch)
treef810204e6e04e9b789664b45c91a5fd24af33fec /editors/openoffice-3-devel/files
parentMove cfengine ports to standardize namaing. (diff)
Update to svn 1371027
Notes
Notes: svn path=/head/; revision=302534
Diffstat (limited to 'editors/openoffice-3-devel/files')
-rw-r--r--editors/openoffice-3-devel/files/extra-patch-libexttextcat-lingucomponent13
1 files changed, 13 insertions, 0 deletions
diff --git a/editors/openoffice-3-devel/files/extra-patch-libexttextcat-lingucomponent b/editors/openoffice-3-devel/files/extra-patch-libexttextcat-lingucomponent
new file mode 100644
index 000000000000..0aec5c2f9b6b
--- /dev/null
+++ b/editors/openoffice-3-devel/files/extra-patch-libexttextcat-lingucomponent
@@ -0,0 +1,13 @@
+$FreeBSD$
+
+--- lingucomponent/source/languageguessing/simpleguesser.cxx.orig 2012-01-10 19:42:30.000000000 +0900
++++ lingucomponent/source/languageguessing/simpleguesser.cxx 2012-08-07 11:14:45.000000000 +0900
+@@ -114,7 +114,7 @@
+ if(!h){return guesses;}
+
+ //calculate le number of unicode charcters (symbols)
+- int len = utfstrlen(text);
++ int len = strlen(text);
+
+ if( len > MAX_STRING_LENGTH_TO_ANALYSE ){len = MAX_STRING_LENGTH_TO_ANALYSE ;}
+