aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authormarino <marino@FreeBSD.org>2015-11-13 05:34:58 +0800
committermarino <marino@FreeBSD.org>2015-11-13 05:34:58 +0800
commit8e205781f2a85284b1c121ce6137eac12e050b08 (patch)
tree1d5ce4442faccf7e8164bec984556cbd1a001ca7 /net
parent4d1816b439c0d58dbeda40a6c1a0fc04a16119db (diff)
downloadfreebsd-ports-gnome-8e205781f2a85284b1c121ce6137eac12e050b08.tar.gz
freebsd-ports-gnome-8e205781f2a85284b1c121ce6137eac12e050b08.tar.zst
freebsd-ports-gnome-8e205781f2a85284b1c121ce6137eac12e050b08.zip
net/ldapsdk: Fix malloc.h-less DF and define EDEADLOCK
Diffstat (limited to 'net')
-rw-r--r--net/ldapsdk/files/patch-ldap_libraries_liblber_lber-int.h11
-rw-r--r--net/ldapsdk/files/patch-ldap_libraries_libprldap_ldappr-error.c11
2 files changed, 22 insertions, 0 deletions
diff --git a/net/ldapsdk/files/patch-ldap_libraries_liblber_lber-int.h b/net/ldapsdk/files/patch-ldap_libraries_liblber_lber-int.h
new file mode 100644
index 000000000000..14435c76d5ef
--- /dev/null
+++ b/net/ldapsdk/files/patch-ldap_libraries_liblber_lber-int.h
@@ -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>
diff --git a/net/ldapsdk/files/patch-ldap_libraries_libprldap_ldappr-error.c b/net/ldapsdk/files/patch-ldap_libraries_libprldap_ldappr-error.c
new file mode 100644
index 000000000000..77b1d0000626
--- /dev/null
+++ b/net/ldapsdk/files/patch-ldap_libraries_libprldap_ldappr-error.c
@@ -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
+