summaryrefslogtreecommitdiff
path: root/package/kodi
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-10-29 21:33:38 -0500
committerWaldemar Brodkorb <wbx@openadk.org>2014-10-29 21:33:38 -0500
commit119dd070f730e87aa02233ee9a84892f348f36b3 (patch)
treedb40905b242ae826562679969693ff953b9569c6 /package/kodi
parent4d93df7f7ed8faa914afdab3548fdb89fa718306 (diff)
do not exec lsb_release here
Diffstat (limited to 'package/kodi')
-rw-r--r--package/kodi/patches/patch-xbmc_utils_SystemInfo_cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/kodi/patches/patch-xbmc_utils_SystemInfo_cpp b/package/kodi/patches/patch-xbmc_utils_SystemInfo_cpp
new file mode 100644
index 000000000..e5131b7ec
--- /dev/null
+++ b/package/kodi/patches/patch-xbmc_utils_SystemInfo_cpp
@@ -0,0 +1,11 @@
+--- kodi-14.0alpha4.orig/xbmc/utils/SystemInfo.cpp 2014-10-10 15:03:29.000000000 -0500
++++ kodi-14.0alpha4/xbmc/utils/SystemInfo.cpp 2014-10-29 20:29:31.614352000 -0500
+@@ -618,7 +618,7 @@ std::string CSysInfo::GetOsName(bool emp
+ #elif defined (TARGET_ANDROID)
+ osName = "Android";
+ #elif defined(TARGET_LINUX)
+- osName = getValueFromOs_release("NAME");
++ osName = "OpenADK";
+ if (osName.empty())
+ osName = getValueFromLsb_release(lsb_rel_distributor);
+ if (osName.empty())