pkgsrc/multimedia/kodi/patches/patch-xbmc_addons_AddonManager.cpp
jmcneill a01db9f9be Initial import of kodi-15.2
Kodi (formerly known as XBMC) is an award-winning free and open source (GPL)
software media center for playing videos, music, pictures, games, and more.
Kodi features a 10-foot user interface for use with televisions and remote
controls. It allows users to play and view most videos, music, podcasts, and
other digital media files from local and network storage media and the
internet.
2015-11-17 14:56:07 +00:00

22 lines
1,017 B
C++

$NetBSD: patch-xbmc_addons_AddonManager.cpp,v 1.1 2015/11/17 14:56:07 jmcneill Exp $
--- xbmc/addons/AddonManager.cpp.orig 2015-10-19 06:31:15.000000000 +0000
+++ xbmc/addons/AddonManager.cpp
@@ -143,7 +143,7 @@ AddonPtr CAddonMgr::Factory(const cp_ext
std::string tograb;
#if defined(TARGET_ANDROID)
tograb = "@library_android";
-#elif defined(TARGET_LINUX) || defined(TARGET_FREEBSD)
+#elif defined(TARGET_LINUX) || defined(TARGET_FREEBSD) || defined(TARGET_NETBSD)
tograb = "@library_linux";
#elif defined(TARGET_WINDOWS) && defined(HAS_DX)
tograb = "@library_windx";
@@ -888,7 +888,7 @@ bool CAddonMgr::PlatformSupportsAddon(co
return true;
#if defined(TARGET_ANDROID)
if (*platform == "android")
-#elif defined(TARGET_LINUX) || defined(TARGET_FREEBSD)
+#elif defined(TARGET_LINUX) || defined(TARGET_FREEBSD) || defined(TARGET_NETBSD)
if (*platform == "linux")
#elif defined(TARGET_WINDOWS) && defined(HAS_DX)
if (*platform == "windx")