mirror of
https://git.freebsd.org/ports.git
synced 2025-05-14 16:21:50 -04:00
Office team is proud to announce LibreOffice 7.5 Community, the new major release of the volunteer-supported free office suite for desktop productivity Read more: https://blog.documentfoundation.org/blog/2023/02/02/tdf-announces-libreoffice-75-community/
11 lines
468 B
C++
11 lines
468 B
C++
--- basic/source/classes/sbxmod.cxx.orig 2022-12-22 00:14:09 UTC
|
|
+++ basic/source/classes/sbxmod.cxx
|
|
@@ -1131,7 +1131,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;
|