diff --git a/0001-gcc-error-size-128-of-array-exceeds-maximum-object-.patch b/0001-gcc-error-size-128-of-array-exceeds-maximum-object-.patch new file mode 100644 index 0000000..5ef108b --- /dev/null +++ b/0001-gcc-error-size-128-of-array-exceeds-maximum-object-.patch @@ -0,0 +1,42 @@ +From 7cbfb8749425cad73a91a543e32790455e11bf3d Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= +Date: Tue, 26 Feb 2019 11:53:31 +0000 +Subject: [PATCH] gcc error: size '128' of array exceeds maximum object size + +an int works though + +Change-Id: Ifb71df7f929b4ea950fbe6c9ba3ed8e81496fbdf +--- + i18npool/inc/cclass_unicode.hxx | 2 +- + .../source/characterclassification/cclass_unicode_parser.cxx | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/i18npool/inc/cclass_unicode.hxx b/i18npool/inc/cclass_unicode.hxx +index cd77cbea275a..d11c5e8405b2 100644 +--- a/i18npool/inc/cclass_unicode.hxx ++++ b/i18npool/inc/cclass_unicode.hxx +@@ -115,7 +115,7 @@ private: + ssStop + }; + +- static const sal_uInt8 nDefCnt; ++ static const int nDefCnt; + static const ParserFlags pDefaultParserTable[]; + static const sal_Int32 pParseTokensType[]; + +diff --git a/i18npool/source/characterclassification/cclass_unicode_parser.cxx b/i18npool/source/characterclassification/cclass_unicode_parser.cxx +index 1b7cba461016..bca77aea2580 100644 +--- a/i18npool/source/characterclassification/cclass_unicode_parser.cxx ++++ b/i18npool/source/characterclassification/cclass_unicode_parser.cxx +@@ -42,7 +42,7 @@ namespace i18npool { + + // Default identifier/name specification is [A-Za-z_][A-Za-z0-9_]* + +-const sal_uInt8 cclass_Unicode::nDefCnt = 128; ++const int cclass_Unicode::nDefCnt = 128; + const ParserFlags cclass_Unicode::pDefaultParserTable[ nDefCnt ] = + { + // (...) == Calc formula compiler specific, commented out and modified +-- +2.21.0.rc1 + diff --git a/libreoffice.spec b/libreoffice.spec index d689997..dba45d5 100644 --- a/libreoffice.spec +++ b/libreoffice.spec @@ -244,6 +244,7 @@ Patch4: 0001-tdf-122393-move-to-overflow-row-on-using-left-right-.patch Patch5: 0001-Resolves-tdf-122467-drop-down-field-name-is-too-narr.patch Patch6: 0001-menu-of-currency-combobox-in-format-cells-is-too-nar.patch Patch7: 0001-rhbz-1678319-workaround-miscompilation.patch +Patch8: 0001-gcc-error-size-128-of-array-exceeds-maximum-object-.patch %if 0%{?rhel} # not upstreamed