Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Jun 2018 19:27:55 +0000 (UTC)
From:      Bernhard Froehlich <decke@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r473632 - in head/multimedia/kodi: . files
Message-ID:  <201806301927.w5UJRtVV027139@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: decke
Date: Sat Jun 30 19:27:54 2018
New Revision: 473632
URL: https://svnweb.freebsd.org/changeset/ports/473632

Log:
  multimedia/kodi: add patch to fix support for addons
  
  PR:		228950
  Submitted by:	myself
  Approved by:	maintainer timeout

Added:
  head/multimedia/kodi/files/patch-xbmc_addons_kodi-addon-dev-kit_include_kodi_libXBMC_addon.h   (contents, props changed)
Modified:
  head/multimedia/kodi/Makefile

Modified: head/multimedia/kodi/Makefile
==============================================================================
--- head/multimedia/kodi/Makefile	Sat Jun 30 19:25:32 2018	(r473631)
+++ head/multimedia/kodi/Makefile	Sat Jun 30 19:27:54 2018	(r473632)
@@ -2,7 +2,7 @@
 
 PORTNAME=	kodi
 DISTVERSION=	17.6
-PORTREVISION=	3
+PORTREVISION=	4
 CATEGORIES=	multimedia java
 
 MAINTAINER=	mickael.maillot@gmail.com

Added: head/multimedia/kodi/files/patch-xbmc_addons_kodi-addon-dev-kit_include_kodi_libXBMC_addon.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/multimedia/kodi/files/patch-xbmc_addons_kodi-addon-dev-kit_include_kodi_libXBMC_addon.h	Sat Jun 30 19:27:54 2018	(r473632)
@@ -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"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201806301927.w5UJRtVV027139>