summaryrefslogtreecommitdiffstats
path: root/main/lxdm/lxdm-nopam.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-01-04 07:59:00 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-01-04 07:59:00 +0000
commit29687b058f4158b4be6cbb7dea7e4a624a71c804 (patch)
treeb7cc8c36611a8075458f5c5d10fe0736535ded13 /main/lxdm/lxdm-nopam.patch
parent0e0157912972f71045f650a52ae8cb2bd55d3ebf (diff)
downloadaports-29687b058f4158b4be6cbb7dea7e4a624a71c804.tar.bz2
aports-29687b058f4158b4be6cbb7dea7e4a624a71c804.tar.xz
main/lxdm: moved from testing
Diffstat (limited to 'main/lxdm/lxdm-nopam.patch')
-rw-r--r--main/lxdm/lxdm-nopam.patch18
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)
+ {