diff options
author | hira <hira@pkgsrc.org> | 2008-10-14 11:02:24 +0000 |
---|---|---|
committer | hira <hira@pkgsrc.org> | 2008-10-14 11:02:24 +0000 |
commit | 59230131f35d5b9e38cff8596a061660efcd1fa6 (patch) | |
tree | 768a221595539e52131066858dda381b7c10e1e0 /misc/openoffice3/patches/patch-ao | |
parent | cb9875277de8caa2cf2cdd064aae3a53e74d98e0 (diff) | |
download | pkgsrc-59230131f35d5b9e38cff8596a061660efcd1fa6.tar.gz |
Initial import of OpenOffice.org 3.0.0 as misc/openoffice3.
Release note (will be available):
http://development.openoffice.org/releases/3.0.0.html
Diffstat (limited to 'misc/openoffice3/patches/patch-ao')
-rw-r--r-- | misc/openoffice3/patches/patch-ao | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/misc/openoffice3/patches/patch-ao b/misc/openoffice3/patches/patch-ao new file mode 100644 index 00000000000..fc7a52a1219 --- /dev/null +++ b/misc/openoffice3/patches/patch-ao @@ -0,0 +1,19 @@ +$NetBSD: patch-ao,v 1.1.1.1 2008/10/14 11:02:24 hira Exp $ + +--- i18npool/source/breakiterator/gendict.cxx.orig 2007-02-17 23:18:38.000000000 +0900 ++++ i18npool/source/breakiterator/gendict.cxx 2007-02-17 23:20:08.000000000 +0900 +@@ -74,8 +74,12 @@ + fprintf(cfp, "extern \"C\" {\n"); + + sal_Int32 count, i, j; +- sal_Int32 lenArrayCurr = 0, lenArrayCount = 0, lenArrayLen = 0, *lenArray = NULL, charArray[0x10000]; +- sal_Bool exist[0x10000]; ++ sal_Int32 lenArrayCurr = 0, lenArrayCount = 0, lenArrayLen = 0, *lenArray = NULL, *charArray; ++ sal_Bool *exist; ++ charArray = (sal_Int32*) malloc(0x10000*sizeof(*charArray)); ++ if (charArray == NULL) exit(1); ++ exist = (sal_Bool*) malloc(0x10000*sizeof(*exist)); ++ if (exist == NULL) exit(1); + for (i = 0; i < 0x10000; i++) { + exist[i] = sal_False; + charArray[i] = 0; |