summaryrefslogtreecommitdiff
path: root/x11-misc/sddm/files/sddm-0.10.0-upower.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@rogentos.ro>2015-09-13 18:13:57 +0100
committerV3n3RiX <venerix@rogentos.ro>2015-09-13 18:13:57 +0100
commit049ce9f77b70fa5c8e2805919f3b94334287f90d (patch)
tree3cb9563c9ec8c830f9dbc9226af47a8226f3a66c /x11-misc/sddm/files/sddm-0.10.0-upower.patch
parentec3ec41a5de4ae5175d2e446b60f75e74a87bb88 (diff)
parentc3afc6443264fa733672723714e0a8eef52c7d9d (diff)
Merge remote-tracking branch 'upstream/master'
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();
+ }
+