diff options
Diffstat (limited to 'misc/openoffice/patches/patch-ao')
-rw-r--r-- | misc/openoffice/patches/patch-ao | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/misc/openoffice/patches/patch-ao b/misc/openoffice/patches/patch-ao deleted file mode 100644 index 0fcd6a1ea5e..00000000000 --- a/misc/openoffice/patches/patch-ao +++ /dev/null @@ -1,19 +0,0 @@ -$NetBSD: patch-ao,v 1.3 2004/05/03 20:56:36 mrauch Exp $ - ---- ../i18npool/source/breakiterator/gendict.cxx.orig 2004-04-17 19:30:03.000000000 +0200 -+++ ../i18npool/source/breakiterator/gendict.cxx -@@ -95,8 +95,12 @@ int SAL_CALL main(int argc, char* argv[] - 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; |