From owner-svn-ports-head@freebsd.org Sat Jun 30 19:27:56 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0D6CBFD52D6; Sat, 30 Jun 2018 19:27:56 +0000 (UTC) (envelope-from decke@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A1A4D896BB; Sat, 30 Jun 2018 19:27:55 +0000 (UTC) (envelope-from decke@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 7E6EB14231; Sat, 30 Jun 2018 19:27:55 +0000 (UTC) (envelope-from decke@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w5UJRtfX027140; Sat, 30 Jun 2018 19:27:55 GMT (envelope-from decke@FreeBSD.org) Received: (from decke@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w5UJRtVV027139; Sat, 30 Jun 2018 19:27:55 GMT (envelope-from decke@FreeBSD.org) Message-Id: <201806301927.w5UJRtVV027139@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: decke set sender to decke@FreeBSD.org using -f From: Bernhard Froehlich Date: Sat, 30 Jun 2018 19:27:55 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r473632 - in head/multimedia/kodi: . files X-SVN-Group: ports-head X-SVN-Commit-Author: decke X-SVN-Commit-Paths: in head/multimedia/kodi: . files X-SVN-Commit-Revision: 473632 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 Jun 2018 19:27:56 -0000 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 + #include + #include ++#include + + #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"