1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-03 01:23:49 +00:00

net/ldapsdk: Fix malloc.h-less DF and define EDEADLOCK

This commit is contained in:
John Marino 2015-11-12 21:34:58 +00:00
parent cc916c5754
commit 38d44dd076
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=401399
2 changed files with 22 additions and 0 deletions

View File

@ -0,0 +1,11 @@
--- ldap/libraries/liblber/lber-int.h.orig 2011-01-06 12:05:39 UTC
+++ ldap/libraries/liblber/lber-int.h
@@ -63,7 +63,7 @@ extern "C" {
#ifdef macintosh
# include "ldap-macos.h"
#else /* macintosh */
-#if !defined(BSDI) && !defined(DARWIN) && !defined(FREEBSD)
+#if !defined(BSDI) && !defined(DARWIN) && !defined(FREEBSD) && !defined(DRAGONFLY)
# include <malloc.h>
#endif
# include <errno.h>

View File

@ -0,0 +1,11 @@
--- ldap/libraries/libprldap/ldappr-error.c.orig 2011-01-06 12:05:39 UTC
+++ ldap/libraries/libprldap/ldappr-error.c
@@ -231,7 +231,7 @@ struct prldap_errormap_entry {
#if defined(__hpux) || defined(_AIX) || defined(OSF1) || defined(DARWIN) || \
defined(BEOS) || defined(FREEBSD) || defined(BSDI) || defined(VMS) || \
- defined(OPENBSD) || defined(NETBSD)
+ defined(OPENBSD) || defined(NETBSD) || defined(DRAGONFLY)
#define EDEADLOCK -1
#endif