lxdm-0.4.1-missing-pam-defines.patch 583 B

123456789101112131415161718192021222324252627282930
  1. From 0f9e8e53a8d30f5c8ccfb03edc282148f58bfd30 Mon Sep 17 00:00:00 2001
  2. From: dgod <dgod.osa@gmail.com>
  3. Date: Sun, 1 Jan 2012 17:05:22 +0800
  4. Subject: [PATCH] fix bug introduced from pam detect
  5. ---
  6. src/lxdm.c | 4 ++++
  7. 1 files changed, 4 insertions(+), 0 deletions(-)
  8. diff --git a/src/lxdm.c b/src/lxdm.c
  9. index b5a90be..07be1e0 100644
  10. --- a/src/lxdm.c
  11. +++ b/src/lxdm.c
  12. @@ -25,8 +25,12 @@
  13. #include <config.h>
  14. #endif
  15. #ifndef HAVE_LIBPAM
  16. +#ifdef USE_PAM
  17. +#define HAVE_LIBPAM 1
  18. +#else
  19. #define HAVE_LIBPAM 0
  20. #endif
  21. +#endif
  22. #include <stdio.h>
  23. #include <stdlib.h>
  24. --
  25. 1.7.4.1