diff options
author | Britney Fransen <brfransen@gmail.com> | 2016-05-16 16:24:28 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2016-05-16 16:24:28 (GMT) |
commit | fff4c50d3a1d94c807604d6c21355993dfb95c85 (patch) | |
tree | 390f0eb0781b2599449edbdafbeb6aaba34200dc /abs/extra/upower/0001-Send-resume-signal-when-built-with-systemd-and-using.patch | |
parent | 8de064f6e96f960cdbfe6868d9957a4613f704df (diff) | |
parent | 6f7a84649ef75069cc4fa06fabeb63e762e049d1 (diff) | |
download | linhes_pkgbuild-fff4c50d3a1d94c807604d6c21355993dfb95c85.zip linhes_pkgbuild-fff4c50d3a1d94c807604d6c21355993dfb95c85.tar.gz linhes_pkgbuild-fff4c50d3a1d94c807604d6c21355993dfb95c85.tar.bz2 |
Merge branch 'testing'
Diffstat (limited to 'abs/extra/upower/0001-Send-resume-signal-when-built-with-systemd-and-using.patch')
-rw-r--r-- | abs/extra/upower/0001-Send-resume-signal-when-built-with-systemd-and-using.patch | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/abs/extra/upower/0001-Send-resume-signal-when-built-with-systemd-and-using.patch b/abs/extra/upower/0001-Send-resume-signal-when-built-with-systemd-and-using.patch deleted file mode 100644 index 2694334..0000000 --- a/abs/extra/upower/0001-Send-resume-signal-when-built-with-systemd-and-using.patch +++ /dev/null @@ -1,35 +0,0 @@ -From a5b3dd887dcd60e981626ae2e15c874311fc4fef Mon Sep 17 00:00:00 2001 -From: "Jan Alexander Steffens (heftig)" <jan.steffens@gmail.com> -Date: Sun, 2 Sep 2012 04:36:13 +0200 -Subject: [PATCH] Send resume signal when built with systemd and using - pm-utils suspend - -This case was apparently overlooked when adding systemd support. - -Signed-off-by: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com> ---- - src/linux/up-backend.c | 7 ++++--- - 1 file changed, 4 insertions(+), 3 deletions(-) - -diff --git a/src/linux/up-backend.c b/src/linux/up-backend.c -index ddd4472..52b430e 100644 ---- a/src/linux/up-backend.c -+++ b/src/linux/up-backend.c -@@ -603,10 +603,11 @@ gboolean - up_backend_emits_resuming (UpBackend *backend) - { - #ifdef HAVE_SYSTEMD -- return TRUE; --#else -- return FALSE; -+ if (sd_booted ()) -+ return TRUE; -+ else - #endif -+ return FALSE; - } - - /** --- -1.7.12 - |