summaryrefslogtreecommitdiff
path: root/system/lxdm/patches/lxdm-0.3.0-without_pam.diff
blob: dacd16d77064836d4b6aa0e2f0f26dd30ee5dd4b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
diff -Naur lxdm-0.4.0.orig/src/lxdm.c lxdm-0.4.0/src/lxdm.c
--- lxdm-0.4.0.orig/src/lxdm.c	2011-07-13 14:00:34.000000000 +0200
+++ lxdm-0.4.0/src/lxdm.c	2011-07-22 17:27:34.000000000 +0200
@@ -153,6 +153,7 @@
     while( waitpid(-1, 0, WNOHANG) > 0 ) ;
 }
 
+/* Sorry, -ENOPAM here
 #if HAVE_LIBPAM
 static void close_pam_session(pam_handle_t *pamh)
 {
@@ -164,6 +165,7 @@
     pamh = NULL;
 }
 #endif
+*/
 
 static LXSession *lxsession_find_greeter(void)
 {