diff options
Diffstat (limited to 'dev-util/sysprof/files/3.30.2-elogind.patch')
-rw-r--r-- | dev-util/sysprof/files/3.30.2-elogind.patch | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/dev-util/sysprof/files/3.30.2-elogind.patch b/dev-util/sysprof/files/3.30.2-elogind.patch deleted file mode 100644 index 2a57fff3a9c6..000000000000 --- a/dev-util/sysprof/files/3.30.2-elogind.patch +++ /dev/null @@ -1,35 +0,0 @@ -From b30057251d3f2b5860b36505fed440a6bebe0359 Mon Sep 17 00:00:00 2001 -From: Shiba <not@telling.you> -Date: Wed, 19 Dec 2018 00:37:57 +0100 -Subject: [PATCH] elogind support - ---- - daemon/meson.build | 11 ++++++++++- - 2 files changed, 11 insertions(+), 2 deletions(-) - -diff --git a/daemon/meson.build b/daemon/meson.build -index d0cf87c..c7f85d7 100644 ---- a/daemon/meson.build -+++ b/daemon/meson.build -@@ -11,8 +11,17 @@ sysprofd_sources = [ - # NOTE: This is used in data/meson.build - pkglibexecdir = join_paths(get_option('prefix'), get_option('libexecdir'), 'sysprof') - -+# Check for sd-bus support either by systemd or elogind -+sdbus_dep = dependency('libsystemd', version: '>=222', required: false) -+if not sdbus_dep.found() -+ sdbus_dep = dependency('libelogind', version: '>=239.3', required: false) -+ if not sdbus_dep.found() -+ error('sysprofd requires sd-bus but neither systemd nor elogind were found') -+ endif -+endif -+ - sysprofd_deps = [ -- dependency('libsystemd', version: '>=222'), -+ sdbus_dep, - dependency('glib-2.0'), - ] - --- -2.18.1 - |