diff options
Diffstat (limited to 'sys-libs/pam/files/Linux-PAM-1.1.1+berkdb-5.patch')
-rw-r--r-- | sys-libs/pam/files/Linux-PAM-1.1.1+berkdb-5.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/sys-libs/pam/files/Linux-PAM-1.1.1+berkdb-5.patch b/sys-libs/pam/files/Linux-PAM-1.1.1+berkdb-5.patch new file mode 100644 index 0000000..ece9211 --- /dev/null +++ b/sys-libs/pam/files/Linux-PAM-1.1.1+berkdb-5.patch @@ -0,0 +1,12 @@ +Index: Linux-PAM-1.1.1/modules/pam_userdb/pam_userdb.c +=================================================================== +--- Linux-PAM-1.1.1.orig/modules/pam_userdb/pam_userdb.c ++++ Linux-PAM-1.1.1/modules/pam_userdb/pam_userdb.c +@@ -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" |