diff options
author | Timothy Sample <samplet@ngyro.com> | 2021-11-19 00:55:21 -0500 |
---|---|---|
committer | Timothy Sample <samplet@ngyro.com> | 2021-11-19 00:55:21 -0500 |
commit | abc9a9b74549016bc749392d3cecf86386286145 (patch) | |
tree | e32b55bcb9c274108053493b2420b68787552660 /gnu/packages/patches | |
parent | dab4ce01044b2d960da7375735e9543a259f97d3 (diff) | |
download | guix-patches-abc9a9b74549016bc749392d3cecf86386286145.tar guix-patches-abc9a9b74549016bc749392d3cecf86386286145.tar.gz |
gnu: polkit: Fix elogind configuration.
* gnu/packages/patches/polkit-configure-elogind.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/polkit.scm (polkit): Use it.
Diffstat (limited to 'gnu/packages/patches')
-rw-r--r-- | gnu/packages/patches/polkit-configure-elogind.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/gnu/packages/patches/polkit-configure-elogind.patch b/gnu/packages/patches/polkit-configure-elogind.patch new file mode 100644 index 0000000000..8fefb7a0c2 --- /dev/null +++ b/gnu/packages/patches/polkit-configure-elogind.patch @@ -0,0 +1,15 @@ +Even when the polkit configure script detects elogind, it does not use +it. This patch ensures that elogind is used when it is detected. + +diff -ruN a/configure b/configure +--- a/configure 1969-12-31 19:00:01.000000000 -0500 ++++ b/configure 2021-11-19 00:04:55.581385020 -0500 +@@ -20390,7 +20390,7 @@ + + + +- if test "$have_libsystemd" = "yes"; then ++ if test "$have_libsystemd" = "yes" || test "$have_libelogind" = "yes"; then + HAVE_LIBSYSTEMD_TRUE= + HAVE_LIBSYSTEMD_FALSE='#' + else |