mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-16 03:45:24 -05:00
abc9a9b745
* gnu/packages/patches/polkit-configure-elogind.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. * gnu/packages/polkit.scm (polkit): Use it.
15 lines
487 B
Diff
15 lines
487 B
Diff
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
|