summaryrefslogtreecommitdiff
path: root/system/lxdm/patches/lxdm-0.3.0-without_pam.diff
diff options
context:
space:
mode:
Diffstat (limited to 'system/lxdm/patches/lxdm-0.3.0-without_pam.diff')
-rw-r--r--system/lxdm/patches/lxdm-0.3.0-without_pam.diff19
1 files changed, 19 insertions, 0 deletions
diff --git a/system/lxdm/patches/lxdm-0.3.0-without_pam.diff b/system/lxdm/patches/lxdm-0.3.0-without_pam.diff
new file mode 100644
index 0000000000..e9a8c5ae97
--- /dev/null
+++ b/system/lxdm/patches/lxdm-0.3.0-without_pam.diff
@@ -0,0 +1,19 @@
+diff -Nur lxdm-0.3.0.orig//src/lxdm.c lxdm-0.3.0/src/lxdm.c
+--- lxdm-0.3.0.orig//src/lxdm.c 2010-09-24 10:43:49.000000000 -0500
++++ lxdm-0.3.0/src/lxdm.c 2010-10-10 23:01:24.711716765 -0500
+@@ -150,6 +150,7 @@
+ while( waitpid(-1, 0, WNOHANG) > 0 ) ;
+ }
+
++/* Sorry, -ENOPAM here
+ static void close_pam_session(pam_handle_t *pamh)
+ {
+ int err;
+@@ -159,6 +160,7 @@
+ pam_end(pamh, err);
+ pamh = NULL;
+ }
++*/
+
+ static LXSession *lxsession_find_greeter(void)
+ {