diff options
author | Khem Raj <raj.khem@gmail.com> | 2010-06-08 14:22:42 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2010-06-08 14:24:27 -0700 |
commit | 9d886cd149d1ed68dfb82ca0a4a01112a187ea05 (patch) | |
tree | 40a8eceb66c4666ce43756aa1084dc9520398bc3 /recipes/pam/libpam-1.1.0 | |
parent | 65af999427ce1bd3f2aa8f30bc69720f63c574f0 (diff) |
libpam_1.1.0.bb: Add patch to fix running with DB5
* Imported from gentoo bug #319831
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'recipes/pam/libpam-1.1.0')
-rw-r--r-- | recipes/pam/libpam-1.1.0/define-HAVE_DBM.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/recipes/pam/libpam-1.1.0/define-HAVE_DBM.patch b/recipes/pam/libpam-1.1.0/define-HAVE_DBM.patch new file mode 100644 index 0000000000..eceb67dc3b --- /dev/null +++ b/recipes/pam/libpam-1.1.0/define-HAVE_DBM.patch @@ -0,0 +1,12 @@ +Index: Linux-PAM-1.1.0/modules/pam_userdb/pam_userdb.c +=================================================================== +--- Linux-PAM-1.1.0.orig/modules/pam_userdb/pam_userdb.c 2010-06-08 14:19:25.147555285 -0700 ++++ Linux-PAM-1.1.0/modules/pam_userdb/pam_userdb.c 2010-06-08 14:20:50.707692049 -0700 +@@ -30,6 +30,7 @@ + #else + # ifdef HAVE_DB_H + # define DB_DBM_HSEARCH 1 /* use the dbm interface */ ++# define HAVE_DBM /* for BerkDB 5.0 and later */ + # include <db.h> + # else + # error "failed to find a libdb or equivalent" |