xbmc: add patch to support Upower without ConsoleKit

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2013-07-07 17:30:34 +02:00
parent 521c56c5b1
commit 6472ef074e

View File

@ -0,0 +1,14 @@
diff -Naur xbmc-12.2.0/xbmc/powermanagement/linux/UPowerSyscall.cpp xbmc-12.2.0.patch/xbmc/powermanagement/linux/UPowerSyscall.cpp
--- xbmc-12.2.0/xbmc/powermanagement/linux/UPowerSyscall.cpp 2013-05-02 17:00:05.000000000 +0200
+++ xbmc-12.2.0.patch/xbmc/powermanagement/linux/UPowerSyscall.cpp 2013-07-07 17:05:46.921656229 +0200
@@ -85,8 +85,8 @@
m_connection = NULL;
}
- m_CanPowerdown = false;
- m_CanReboot = false;
+ m_CanPowerdown = true;
+ m_CanReboot = true;
UpdateCapabilities();