diff options
Diffstat (limited to 'main/lxdm/lxdm-nopam.patch')
-rw-r--r-- | main/lxdm/lxdm-nopam.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/main/lxdm/lxdm-nopam.patch b/main/lxdm/lxdm-nopam.patch new file mode 100644 index 000000000..86c808fcb --- /dev/null +++ b/main/lxdm/lxdm-nopam.patch @@ -0,0 +1,18 @@ +--- lxdm-0.3.0/src/lxdm.c ++++ lxdm-0.3.0.mod/src/lxdm.c +@@ -152,6 +152,7 @@ + while( waitpid(-1, 0, WNOHANG) > 0 ) ; + } + ++#if HAVE_LIBPAM + static void close_pam_session(pam_handle_t *pamh) + { + int err; +@@ -161,6 +162,7 @@ + pam_end(pamh, err); + pamh = NULL; + } ++#endif + + static LXSession *lxsession_find_greeter(void) + { |