diff options
author | manu <manu@pkgsrc.org> | 2009-08-05 02:14:42 +0000 |
---|---|---|
committer | manu <manu@pkgsrc.org> | 2009-08-05 02:14:42 +0000 |
commit | 13077943bb457a596f382a082462aa4989992b04 (patch) | |
tree | a6bb3683b462ca52295d5d86b4e5e8ea2fb225b6 /databases/openldap | |
parent | b12549f8178c2b933b7097711595e48870e36305 (diff) | |
download | pkgsrc-13077943bb457a596f382a082462aa4989992b04.tar.gz |
cvs add forgotten before previous commit
Diffstat (limited to 'databases/openldap')
-rw-r--r-- | databases/openldap/patches/patch-de | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/databases/openldap/patches/patch-de b/databases/openldap/patches/patch-de new file mode 100644 index 00000000000..9fc86042bc5 --- /dev/null +++ b/databases/openldap/patches/patch-de @@ -0,0 +1,19 @@ +$NetBSD: patch-de,v 1.1 2009/08/05 02:14:42 manu Exp $ +--- contrib/slapd-modules/smbk5pwd/smbk5pwd.c.orig 2009-08-04 17:38:01.000000000 +0200 ++++ contrib/slapd-modules/smbk5pwd/smbk5pwd.c 2009-08-04 22:56:06.000000000 +0200 +@@ -67,9 +67,15 @@ + #ifdef HAVE_GNUTLS + #include <gcrypt.h> + typedef unsigned char DES_cblock[8]; + #else ++#ifdef __NetBSD__ ++#include <des.h> ++typedef des_key_schedule DES_key_schedule; ++typedef des_cblock DES_cblock; ++#else + #include <openssl/des.h> ++#endif + #include <openssl/md4.h> + #endif + #include "ldap_utf8.h" + |