From 386d01f1568ff757b6a8b31cf58d4eee7391c2c1 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Wed, 7 Oct 2015 09:50:18 +0000 Subject: community/kodi*: move from main --- community/kodi/set-default-stacksize.patch | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 community/kodi/set-default-stacksize.patch (limited to 'community/kodi/set-default-stacksize.patch') 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); -- cgit v1.2.3