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:
parent
cc916c5754
commit
38d44dd076
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=401399
11
net/ldapsdk/files/patch-ldap_libraries_liblber_lber-int.h
Normal file
11
net/ldapsdk/files/patch-ldap_libraries_liblber_lber-int.h
Normal 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>
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user