summaryrefslogtreecommitdiff
path: root/editors/libreoffice/files/patch-basic_source_classes_sbxmod.cxx
diff options
context:
space:
mode:
authorDima Panov <fluffy@FreeBSD.org>2020-08-16 12:41:23 +0000
committerDima Panov <fluffy@FreeBSD.org>2020-08-16 12:41:23 +0000
commitb44cc05f32a7f2ebea75f73f4f750033a31dc0ed (patch)
tree28fea19f4445b43de14ea0130103a4572e2462e6 /editors/libreoffice/files/patch-basic_source_classes_sbxmod.cxx
parent- Update to 1.18.8 (diff)
LibreOffice suite: update to 7.0.0 release
The Office@FreeBSD team is proud to announce long awaited, new major release of LibreOffice suite - 7.0.0! New major branch comes with tons of new changes: switch render from opengl to skia, many templates redesigned from 4:3 to 16:9 format, added support for "ODF 1.3" and "ODF 1.3 Extended" documents format, support native 2013/2016/2019 mode instead of 2007 compatibility mode for DOCX, added a new icon theme, named Sukapura. Full release notes available on the official page (https://wiki.documentfoundation.org/ReleaseNotes/7.0) Of course, conservative users can keep 6.4.x stable version by switch to use all-in-one editors/libreoffice6 port and even with i18n langpack (off by default). It will be kept updated at least till 7.1.0 version will be released.
Diffstat (limited to 'editors/libreoffice/files/patch-basic_source_classes_sbxmod.cxx')
-rw-r--r--editors/libreoffice/files/patch-basic_source_classes_sbxmod.cxx11
1 files changed, 11 insertions, 0 deletions
diff --git a/editors/libreoffice/files/patch-basic_source_classes_sbxmod.cxx b/editors/libreoffice/files/patch-basic_source_classes_sbxmod.cxx
new file mode 100644
index 000000000000..3eb7b7bbbb57
--- /dev/null
+++ b/editors/libreoffice/files/patch-basic_source_classes_sbxmod.cxx
@@ -0,0 +1,11 @@
+--- basic/source/classes/sbxmod.cxx.orig
++++ basic/source/classes/sbxmod.cxx
+@@ -1059,7 +1059,7 @@ void SbModule::Run( SbMethod* pMeth )
+ struct rlimit rl;
+ getrlimit ( RLIMIT_STACK, &rl );
+ #endif
+-#if defined LINUX
++#if defined(LINUX) || defined(__FreeBSD__)
+ // Empiric value, 900 = needed bytes/Basic call level
+ // for Linux including 10% safety margin
+ nMaxCallLevel = rl.rlim_cur / 900;