diff --git a/0001-workaround-x86-ICE-with-gcc-12.patch b/0001-workaround-x86-ICE-with-gcc-12.patch new file mode 100644 index 0000000..8f59ef8 --- /dev/null +++ b/0001-workaround-x86-ICE-with-gcc-12.patch @@ -0,0 +1,35 @@ +From 9fcb36d5ebb53f398c48024a1babcc36fc9625f3 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= +Date: Sat, 5 Mar 2022 21:42:33 +0000 +Subject: [PATCH] workaround x86 ICE with gcc 12 + +Change-Id: I5c31cf31bf676fde4440e46e532595237cc41bab +--- + sc/source/core/tool/interpr2.cxx | 4 ++++ + 1 file changed, 4 insertions(+) + +diff --git a/sc/source/core/tool/interpr2.cxx b/sc/source/core/tool/interpr2.cxx +index 6525f2a6784b..fd3aba045487 100644 +--- a/sc/source/core/tool/interpr2.cxx ++++ b/sc/source/core/tool/interpr2.cxx +@@ -3421,6 +3421,9 @@ void lclAppendBlock( OStringBuffer& rText, sal_Int32 nValue ) + + } // namespace + ++#if defined(X86) ++void ScInterpreter::ScBahtText() {} ++#else + void ScInterpreter::ScBahtText() + { + sal_uInt8 nParamCount = GetByte(); +@@ -3487,6 +3490,7 @@ void ScInterpreter::ScBahtText() + + PushString( OStringToOUString(aText.makeStringAndClear(), RTL_TEXTENCODING_UTF8) ); + } ++#endif + + void ScInterpreter::ScGetPivotData() + { +-- +2.35.1 + diff --git a/libreoffice.spec b/libreoffice.spec index 92c0261..b5b9d5a 100644 --- a/libreoffice.spec +++ b/libreoffice.spec @@ -245,6 +245,8 @@ Patch1: 0001-disble-tip-of-the-day-dialog-by-default.patch Patch2: 0001-Resolves-rhbz-1432468-disable-opencl-by-default.patch # backported Patch3: 0001-Revert-tdf-101630-gdrive-support-w-oAuth-and-Drive-A.patch +# ICE +Patch4: 0001-workaround-x86-ICE-with-gcc-12.patch # not upstreamed Patch500: 0001-disable-libe-book-support.patch