kodi: replace bigstack patch by musl-1.1.21's new stack-size feature
This commit is contained in:
parent
cd1a17ece2
commit
dbc8ea65c0
2 changed files with 2 additions and 11 deletions
|
@ -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);
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'kodi'
|
# Template file for 'kodi'
|
||||||
pkgname=kodi
|
pkgname=kodi
|
||||||
version=17.6
|
version=17.6
|
||||||
revision=4
|
revision=5
|
||||||
_codename="Krypton"
|
_codename="Krypton"
|
||||||
wrksrc="xbmc-${version}-${_codename}"
|
wrksrc="xbmc-${version}-${_codename}"
|
||||||
build_wrksrc=project/cmake
|
build_wrksrc=project/cmake
|
||||||
|
@ -14,6 +14,7 @@ homepage="http://www.kodi.tv/"
|
||||||
distfiles="https://github.com/xbmc/xbmc/archive/${version}-${_codename}.tar.gz"
|
distfiles="https://github.com/xbmc/xbmc/archive/${version}-${_codename}.tar.gz"
|
||||||
checksum=c8312fe92e5bab1cdac1da93d60baed88fa1574146c50c44e3c86d01671c2b1d
|
checksum=c8312fe92e5bab1cdac1da93d60baed88fa1574146c50c44e3c86d01671c2b1d
|
||||||
patch_args="-Np1"
|
patch_args="-Np1"
|
||||||
|
LDFLAGS+=" -Wl,-z,stack-size=1048576"
|
||||||
|
|
||||||
lib32disabled=yes
|
lib32disabled=yes
|
||||||
only_for_archs="i686 i686-musl x86_64 x86_64-musl aarch64 aarch64-musl"
|
only_for_archs="i686 i686-musl x86_64 x86_64-musl aarch64 aarch64-musl"
|
||||||
|
|
Loading…
Add table
Reference in a new issue