kodi: replace bigstack patch by musl-1.1.21's new stack-size feature

This commit is contained in:
Enno Boland 2019-01-27 11:20:43 +01:00 committed by maxice8
parent cd1a17ece2
commit dbc8ea65c0
2 changed files with 2 additions and 11 deletions

View File

@ -1,10 +0,0 @@
--- ./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);

View File

@ -1,7 +1,7 @@
# Template file for 'kodi'
pkgname=kodi
version=17.6
revision=4
revision=5
_codename="Krypton"
wrksrc="xbmc-${version}-${_codename}"
build_wrksrc=project/cmake
@ -14,6 +14,7 @@ homepage="http://www.kodi.tv/"
distfiles="https://github.com/xbmc/xbmc/archive/${version}-${_codename}.tar.gz"
checksum=c8312fe92e5bab1cdac1da93d60baed88fa1574146c50c44e3c86d01671c2b1d
patch_args="-Np1"
LDFLAGS+=" -Wl,-z,stack-size=1048576"
lib32disabled=yes
only_for_archs="i686 i686-musl x86_64 x86_64-musl aarch64 aarch64-musl"