diff --git a/srcpkgs/kodi/kodi-15.2-generated-addons.tar.xz b/srcpkgs/kodi/kodi-15.2-generated-addons.tar.xz deleted file mode 100644 index 858ea36a8fe..00000000000 Binary files a/srcpkgs/kodi/kodi-15.2-generated-addons.tar.xz and /dev/null differ diff --git a/srcpkgs/kodi/patches/fix-musl-x86.patch b/srcpkgs/kodi/patches/fix-musl-x86.patch new file mode 100644 index 00000000000..00e36e361f1 --- /dev/null +++ b/srcpkgs/kodi/patches/fix-musl-x86.patch @@ -0,0 +1,19 @@ +--- a/xbmc/cores/DllLoader/ldt_keeper.c.orig 2016-03-25 17:39:06.790371676 +0100 ++++ b/xbmc/cores/DllLoader/ldt_keeper.c 2016-03-25 17:38:24.376370166 +0100 +@@ -31,6 +31,7 @@ + #include + #include + #include ++#include + #include "mmap_anon.h" + #if defined( __linux__ ) && !defined(__powerpc__) + #include +@@ -202,7 +203,7 @@ ldt_fs_t* Setup_LDT_Keeper(void) + array.limit_in_pages = 0; + #ifdef __linux__ + /* ret=LDT_Modify(0x1, &array, sizeof(struct modify_ldt_ldt_s)); */ +- ret = modify_ldt(0x1, &array, sizeof(struct modify_ldt_ldt_s)); ++ ret = syscall(SYS_modify_ldt, 0x1, &array, sizeof(struct modify_ldt_ldt_s)); + if (ret < 0) + { + perror("install_fs"); diff --git a/srcpkgs/kodi/template b/srcpkgs/kodi/template index c49ab1b34b6..6452d28c589 100644 --- a/srcpkgs/kodi/template +++ b/srcpkgs/kodi/template @@ -1,7 +1,7 @@ # Template file for 'kodi' pkgname=kodi version=16.0 -revision=1 +revision=2 patch_args="-Np1" _codename="Jarvis" wrksrc="xbmc-${version}-${_codename}" @@ -13,7 +13,6 @@ distfiles="https://github.com/xbmc/xbmc/archive/${version}-${_codename}.tar.gz" checksum=0421ea1337cdee674f8a36d995f54152b5ddc4100e53410b3aeeb3b3f7d53946 case "${XBPS_TARGET_MACHINE}" in i686*) broken="http://build.voidlinux.eu/builders/i686_builder/builds/21640";; - x86_64-musl) broken="http://build.voidlinux.eu/builders/x86_64-musl_builder/builds/10076";; esac lib32disabled=yes