1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-13 19:29:53 +03:00
aports/community/libreoffice/musl-stacksize.patch
Callum Andrew 3bb063d62d community/libreoffice: upgrade to 25.2.0.3
0001-poppler-xpdfwrapper.patch: not necessary anymore
2025-02-21 13:35:19 +00:00

38 lines
959 B
Diff

--- a/sal/osl/unx/thread.cxx
+++ b/sal/osl/unx/thread.cxx
@@ -252,7 +252,7 @@
short nFlags)
{
Thread_Impl* pImpl;
-#if defined OPENBSD || defined MACOSX || (defined LINUX && !ENABLE_RUNTIME_OPTIMIZATIONS)
+#if 1
pthread_attr_t attr;
size_t stacksize;
#endif
@@ -268,7 +268,7 @@
pthread_mutex_lock (&(pImpl->m_Lock));
-#if defined OPENBSD || defined MACOSX || (defined LINUX && !ENABLE_RUNTIME_OPTIMIZATIONS)
+#if 1
if (pthread_attr_init(&attr) != 0)
return nullptr;
@@ -287,7 +287,7 @@
if ((nRet = pthread_create (
&(pImpl->m_hThread),
-#if defined OPENBSD || defined MACOSX || (defined LINUX && !ENABLE_RUNTIME_OPTIMIZATIONS)
+#if 1
&attr,
#else
PTHREAD_ATTR_DEFAULT,
@@ -305,7 +305,7 @@
return nullptr;
}
-#if defined OPENBSD || defined MACOSX || (defined LINUX && !ENABLE_RUNTIME_OPTIMIZATIONS)
+#if 1
pthread_attr_destroy(&attr);
#endif