diff options
author | Dirk Meyer <dinoex@FreeBSD.org> | 2009-11-22 21:48:36 +0000 |
---|---|---|
committer | Dirk Meyer <dinoex@FreeBSD.org> | 2009-11-22 21:48:36 +0000 |
commit | d4ea6acf867e50ab3b050257c011cb8ae1f6fcfe (patch) | |
tree | 25b71f0bd701a9851704c63bc6832c6b07f97258 /net/tinyldap/files/patch-auth.c | |
parent | Fix build for ia64, powerpc & sparc64. (diff) |
- update to 20091122 and fix GPL problems
Notes
Notes:
svn path=/head/; revision=244664
Diffstat (limited to 'net/tinyldap/files/patch-auth.c')
-rw-r--r-- | net/tinyldap/files/patch-auth.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/net/tinyldap/files/patch-auth.c b/net/tinyldap/files/patch-auth.c new file mode 100644 index 000000000000..3160404e6d48 --- /dev/null +++ b/net/tinyldap/files/patch-auth.c @@ -0,0 +1,18 @@ +--- auth.c.orig 2008-04-25 13:09:34.000000000 +0200 ++++ auth.c 2009-11-22 22:28:37.000000000 +0100 +@@ -2,11 +2,15 @@ + #ifdef __dietlibc__ + #include <md5.h> + #else ++#ifdef __FreeBSD__ ++#include <md5.h> ++#else + #include <openssl/md5.h> + #define MD5Init MD5_Init + #define MD5Update MD5_Update + #define MD5Final MD5_Final + #endif ++#endif + #define _XOPEN_SOURCE + #include <unistd.h> + #include <stdlib.h> |