diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2015-10-07 09:50:18 +0000 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2015-10-07 15:43:45 +0200 |
commit | 386d01f1568ff757b6a8b31cf58d4eee7391c2c1 (patch) | |
tree | d6b8c7ff487a5436a1b0a88078534205faa45279 /community/kodi/set-default-stacksize.patch | |
parent | 80a17cd4c0be6796f45304322a74f6cf84fbde32 (diff) | |
download | aports-386d01f1568ff757b6a8b31cf58d4eee7391c2c1.tar.bz2 aports-386d01f1568ff757b6a8b31cf58d4eee7391c2c1.tar.xz |
community/kodi*: move from main
Diffstat (limited to 'community/kodi/set-default-stacksize.patch')
-rw-r--r-- | community/kodi/set-default-stacksize.patch | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/community/kodi/set-default-stacksize.patch b/community/kodi/set-default-stacksize.patch new file mode 100644 index 0000000000..8a79215f8b --- /dev/null +++ b/community/kodi/set-default-stacksize.patch @@ -0,0 +1,10 @@ +--- ./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); |