]> granicus.if.org Git - linux-pam/commitdiff
Relevant BUGIDs:
authorThorsten Kukuk <kukuk@thkukuk.de>
Thu, 27 May 2010 12:49:22 +0000 (12:49 +0000)
committerThorsten Kukuk <kukuk@thkukuk.de>
Thu, 27 May 2010 12:49:22 +0000 (12:49 +0000)
Purpose of commit: bugfix

Commit summary:
---------------

2010-05-27  Thorsten Kukuk  <kukuk@thkukuk.de>

        * modules/pam_userdb/pam_userdb.c: Define HAVE_DBM
        for BerkDB 5.0 support. Patch by Diego Elio Pettenò.

ChangeLog
modules/pam_userdb/pam_userdb.c

index 647978e0ba7342b58f5d95fb0a9701fb5b4c75f4..8d195e8565ae9c16c60d2b0bf2b09f26eb282d63 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2010-05-27  Thorsten Kukuk  <kukuk@thkukuk.de>
+
+       * modules/pam_userdb/pam_userdb.c: Define HAVE_DBM
+       for BerkDB 5.0 support. Patch by Diego Elio Pettenò.
+
 2010-04-15  Thorsten Kukuk  <kukuk@thkukuk.de>
 
        * modules/pam_exec/pam_exec.8.xml: Fix example.
index 2d39123bbccc0be2724de01bed45f345da321d5b..11b0d6bd220cde51d41f56f1c6ff267398edf439 100644 (file)
@@ -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"