summaryrefslogtreecommitdiff
path: root/media-sound/cmus/files/cmus-2.8.0-elogind.patch
diff options
context:
space:
mode:
Diffstat (limited to 'media-sound/cmus/files/cmus-2.8.0-elogind.patch')
-rw-r--r--media-sound/cmus/files/cmus-2.8.0-elogind.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/media-sound/cmus/files/cmus-2.8.0-elogind.patch b/media-sound/cmus/files/cmus-2.8.0-elogind.patch
new file mode 100644
index 000000000000..e1309c78911d
--- /dev/null
+++ b/media-sound/cmus/files/cmus-2.8.0-elogind.patch
@@ -0,0 +1,22 @@
+From 483d1862ed023c3e00f2c8c4e71da40022af2f78 Mon Sep 17 00:00:00 2001
+From: Shiba <3816409+shibotto@users.noreply.github.com>
+Date: Tue, 12 Feb 2019 15:29:43 +0100
+Subject: [PATCH] Add support for elogind (#846)
+
+---
+ configure | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/configure b/configure
+index 1f46c30a..4627126e 100755
+--- a/configure
++++ b/configure
+@@ -289,7 +289,7 @@ check_vorbis()
+
+ check_libsystemd()
+ {
+- pkg_config LIBSYSTEMD "libsystemd"
++ pkg_config LIBSYSTEMD "libsystemd" || pkg_config LIBSYSTEMD "libelogind >= 239.3"
+ return $?
+ }
+