summaryrefslogtreecommitdiff
path: root/x11-misc/sddm/files/sddm-0.10.0-upower.patch
diff options
context:
space:
mode:
Diffstat (limited to 'x11-misc/sddm/files/sddm-0.10.0-upower.patch')
-rw-r--r--x11-misc/sddm/files/sddm-0.10.0-upower.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/x11-misc/sddm/files/sddm-0.10.0-upower.patch b/x11-misc/sddm/files/sddm-0.10.0-upower.patch
new file mode 100644
index 00000000..8c0f34c2
--- /dev/null
+++ b/x11-misc/sddm/files/sddm-0.10.0-upower.patch
@@ -0,0 +1,12 @@
+diff -u -r sddm-0.9.0.orig/src/daemon/PowerManager.cpp sddm-0.9.0/src/daemon/PowerManager.cpp
+--- sddm-0.9.0.orig/src/daemon/PowerManager.cpp 2014-10-01 18:40:37.402683578 +0200
++++ sddm-0.9.0/src/daemon/PowerManager.cpp 2014-10-01 18:40:43.502618164 +0200
+@@ -197,7 +197,7 @@
+ m_backends << new Login1Backend();
+
+ // check if upower interface exists
+- if (interface->isServiceRegistered(UPOWER_SERVICE))
++// if (interface->isServiceRegistered(UPOWER_SERVICE))
+ m_backends << new UPowerBackend();
+ }
+