void-packages/srcpkgs/kodi/patches/set-default-stacksize.patch
Juan RP 1601b6e92c kodi: musl is now supported.
- Applied patches from Alpine and adapted triplets for more general cases.
- Use the generated addons tarball to not require java when bootstrapping.
2015-11-05 18:30:36 +01:00

10 lines
401 B
Diff

--- ./xbmc/threads/platform/pthreads/ThreadImpl.cpp.orig
+++ ./xbmc/threads/platform/pthreads/ThreadImpl.cpp
@@ -42,6 +42,7 @@
{
pthread_attr_t attr;
pthread_attr_init(&attr);
+ if (!stacksize) stacksize = 1024*1024;
#if !defined(TARGET_ANDROID) // http://code.google.com/p/android/issues/detail?id=7808
if (stacksize > PTHREAD_STACK_MIN)
pthread_attr_setstacksize(&attr, stacksize);