diff options
Diffstat (limited to 'sys-auth/pambase/files/pambase-20150213-elogind.patch')
-rw-r--r-- | sys-auth/pambase/files/pambase-20150213-elogind.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/sys-auth/pambase/files/pambase-20150213-elogind.patch b/sys-auth/pambase/files/pambase-20150213-elogind.patch new file mode 100644 index 000000000000..7ec92f787b82 --- /dev/null +++ b/sys-auth/pambase/files/pambase-20150213-elogind.patch @@ -0,0 +1,23 @@ +--- a/Makefile ++++ b/Makefile +@@ -32,6 +32,10 @@ + PAMFLAGS += -DHAVE_SYSTEMD=1 + endif + ++ifeq "$(ELOGIND)" "yes" ++PAMFLAGS += -DHAVE_ELOGIND=1 ++endif ++ + ifeq "$(GNOME_KEYRING)" "yes" + PAMFLAGS += -DHAVE_GNOME_KEYRING=1 + endif +--- a/system-auth.in ++++ b/system-auth.in +@@ -39,3 +39,7 @@ + #if HAVE_SYSTEMD + -session optional pam_systemd.so + #endif ++ ++#if HAVE_ELOGIND ++-session optional pam_elogind.so ++#endif |