summaryrefslogtreecommitdiff
path: root/package/kodi/patches/patch-xbmc_Application_cpp
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-12-08 00:20:34 -0600
committerWaldemar Brodkorb <wbx@openadk.org>2014-12-08 13:00:24 -0600
commit5c105209db00b2a414a6796d2aef539dc963a310 (patch)
tree32cd177148033668b0404783fd69df448fdfe5fd /package/kodi/patches/patch-xbmc_Application_cpp
parent26ce649e233d1ffc8d16f2ee6507f2a86854ca91 (diff)
fix startup issues with kodi
Diffstat (limited to 'package/kodi/patches/patch-xbmc_Application_cpp')
-rw-r--r--package/kodi/patches/patch-xbmc_Application_cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/package/kodi/patches/patch-xbmc_Application_cpp b/package/kodi/patches/patch-xbmc_Application_cpp
new file mode 100644
index 000000000..2235d9f8b
--- /dev/null
+++ b/package/kodi/patches/patch-xbmc_Application_cpp
@@ -0,0 +1,14 @@
+--- kodi-14.0rc2.orig/xbmc/Application.cpp 2014-12-05 19:38:44.000000000 -0600
++++ kodi-14.0rc2/xbmc/Application.cpp 2014-12-07 10:16:27.900418001 -0600
+@@ -1076,10 +1076,7 @@ bool CApplication::InitDirectoriesLinux(
+ userName = "root";
+
+ std::string userHome;
+- if (getenv("HOME"))
+- userHome = getenv("HOME");
+- else
+- userHome = "/root";
++ userHome = "/data/kodi";
+
+ std::string appBinPath, appPath;
+ std::string appName = CCompileInfo::GetAppName();