diff options
author | Bernhard Froehlich <decke@FreeBSD.org> | 2018-06-30 19:27:54 +0000 |
---|---|---|
committer | Bernhard Froehlich <decke@FreeBSD.org> | 2018-06-30 19:27:54 +0000 |
commit | 450522b2caa8e5dcdaf89f03bda28e52e13e7b80 (patch) | |
tree | 7d05803c6ecfda055cfe457b182fd5ce1c3664be /multimedia | |
parent | faea41af6d68af9748b4a5e1e86c265975f7634c (diff) | |
download | ports-450522b2caa8e5dcdaf89f03bda28e52e13e7b80.tar.gz ports-450522b2caa8e5dcdaf89f03bda28e52e13e7b80.zip |
multimedia/kodi: add patch to fix support for addons
PR: 228950
Submitted by: myself
Approved by: maintainer timeout
Notes
Notes:
svn path=/head/; revision=473632
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/kodi/Makefile | 2 | ||||
-rw-r--r-- | multimedia/kodi/files/patch-xbmc_addons_kodi-addon-dev-kit_include_kodi_libXBMC_addon.h | 28 |
2 files changed, 29 insertions, 1 deletions
diff --git a/multimedia/kodi/Makefile b/multimedia/kodi/Makefile index f154b9f603d7..9926c5a7d9a0 100644 --- a/multimedia/kodi/Makefile +++ b/multimedia/kodi/Makefile @@ -2,7 +2,7 @@ PORTNAME= kodi DISTVERSION= 17.6 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= multimedia java MAINTAINER= mickael.maillot@gmail.com diff --git a/multimedia/kodi/files/patch-xbmc_addons_kodi-addon-dev-kit_include_kodi_libXBMC_addon.h b/multimedia/kodi/files/patch-xbmc_addons_kodi-addon-dev-kit_include_kodi_libXBMC_addon.h new file mode 100644 index 000000000000..c0f36bf71202 --- /dev/null +++ b/multimedia/kodi/files/patch-xbmc_addons_kodi-addon-dev-kit_include_kodi_libXBMC_addon.h @@ -0,0 +1,28 @@ +--- xbmc/addons/kodi-addon-dev-kit/include/kodi/libXBMC_addon.h.orig 2017-11-14 17:55:01.000000000 +0100 ++++ xbmc/addons/kodi-addon-dev-kit/include/kodi/libXBMC_addon.h 2018-04-27 14:28:13.572553000 +0200 +@@ -26,6 +26,7 @@ + #include <stdio.h> + #include <stdint.h> + #include <stdarg.h> ++#include <sys/param.h> + + #if defined(BUILD_KODI_ADDON) + #include "IFileTypes.h" +@@ -66,6 +67,17 @@ + #define ADDON_HELPER_ARCH "x86-osx" + #endif + #define ADDON_HELPER_EXT ".dylib" ++#elif defined(__FreeBSD__) // freebsd ++#if defined(__x86_64__) ++#define ADDON_HELPER_ARCH "x86_64-freebsd" ++#elif defined(__ARMEL__) ++#define ADDON_HELPER_ARCH "arm" ++#elif defined(__aarch64__) ++#define ADDON_HELPER_ARCH "aarch64" ++#else ++#define ADDON_HELPER_ARCH "i486-freebsd" ++#endif ++#define ADDON_HELPER_EXT ".so" + #else // linux + #if defined(__x86_64__) + #define ADDON_HELPER_ARCH "x86_64-linux" |