aboutsummaryrefslogtreecommitdiffstats
path: root/community/fprintd/pam-use-basu-and-remove-sd-login.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/fprintd/pam-use-basu-and-remove-sd-login.patch')
-rw-r--r--community/fprintd/pam-use-basu-and-remove-sd-login.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/community/fprintd/pam-use-basu-and-remove-sd-login.patch b/community/fprintd/pam-use-basu-and-remove-sd-login.patch
new file mode 100644
index 00000000000..ec2d8378e1d
--- /dev/null
+++ b/community/fprintd/pam-use-basu-and-remove-sd-login.patch
@@ -0,0 +1,24 @@
+--- a/pam/pam_fprintd.c
++++ b/pam/pam_fprintd.c
+@@ -31,8 +31,7 @@
+ #include <errno.h>
+
+ #include <libintl.h>
+-#include <systemd/sd-bus.h>
+-#include <systemd/sd-login.h>
++#include <basu/sd-bus.h>
+ #include <signal.h>
+ #include <sys/signalfd.h>
+ #include <poll.h>
+@@ -775,8 +774,9 @@
+ strcmp (rhost, "localhost") != 0)
+ return true;
+
+- if (sd_session_is_remote (NULL) > 0)
+- return true;
++// XXX-Patched: Remove dependency on elogind.
++//if (sd_session_is_remote (NULL) > 0)
++// return true;
+
+ return false;
+ }