diff options
Diffstat (limited to 'media-tv/kodi/files/musl/0007-set-default-stacksize-for-musl.patch')
-rw-r--r-- | media-tv/kodi/files/musl/0007-set-default-stacksize-for-musl.patch | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/media-tv/kodi/files/musl/0007-set-default-stacksize-for-musl.patch b/media-tv/kodi/files/musl/0007-set-default-stacksize-for-musl.patch deleted file mode 100644 index 5b0f4a3..0000000 --- a/media-tv/kodi/files/musl/0007-set-default-stacksize-for-musl.patch +++ /dev/null @@ -1,24 +0,0 @@ -From 099f2448dd4294abb91bae2135bac103a819ff8f Mon Sep 17 00:00:00 2001 -From: Jory Pratt <anarchy@gentoo.org> -Date: Wed, 24 Apr 2019 10:15:33 -0500 -Subject: [PATCH 6/7] set default stacksize for musl - ---- - xbmc/threads/platform/pthreads/ThreadImpl.cpp | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/xbmc/threads/platform/pthreads/ThreadImpl.cpp b/xbmc/threads/platform/pthreads/ThreadImpl.cpp -index 4ad675e..46efbc2 100644 ---- a/xbmc/threads/platform/pthreads/ThreadImpl.cpp -+++ b/xbmc/threads/platform/pthreads/ThreadImpl.cpp -@@ -56,6 +56,7 @@ void CThread::SpawnThread(unsigned stacksize) - { - 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); --- -2.21.0 - |